Look at copy constructor description.

śr., 13 cze 2018, 22:50 użytkownik Jason H <jh...@gmx.com> napisał:

> How can I get access to pixel data (for reading) when being presented a
> frame? I have the following:
>
> class VideoSurface: public QAbstractVideoSurface {
> bool present(const QVideoFrame &frame) override {
>  // I can't map()  because frame is const and map() is not marked const
>  // and frame is not already mapped, so what can I do with it?
> }
> };
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to