[Interest] Cannot map videoforames for QAbstractVideoSurface::present

Tomasz Olszak olszak.tomasz at gmail.com
Wed Jun 13 23:18:49 CEST 2018


Look at copy constructor description.

śr., 13 cze 2018, 22:50 użytkownik Jason H <jhihn at 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180613/b614fc3d/attachment.html>


More information about the Interest mailing list