hi,
I would like to show video embedded into QGraphicsView but it show wrong color, like RGB are swapped into BGR or something like that. If the video widget is displayed outside GraphicsView, colors are ok.
The GraphicsView is using opengl:
QGLWidget *qgl=new QGLWidget(new QGLContext(QGLFormat(QGL::SampleBuffers | QGL::Rgba | QGL::HasOverlay)));
this->setViewport(qgl);
I tried removing and adding other QGL parameters and also without setting GraphicsView as openGL view but nothing remove the issue.
Any suggestions or workaround will be pretty welcome
thanks in advance
marco
Bookmarks