[Interest] Cannot map videoforames for QAbstractVideoSurface::present

Jason H jhihn at gmx.com
Wed Jun 13 22:50:20 CEST 2018


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?
}
};



More information about the Interest mailing list