Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
4.7.2, 4.7.4
-
None
-
Linux/X11 tested on a D945GSEJT motherboard using both pre-built 4.7.2 for Ubuntu and a custom-built 4.7.4 on the same Ubuntu.
Description
The simplest example:
Phonon::MediaObject *media = new Phonon::MediaObject();
Phonon::VideoWidget *video = new Phonon::VideoWidget();
QGraphicsProxyWidget *proxy = scene->addWidget(video);
media->setCurrentSource("whatever.mp4");
media->play();
The QGraphicsView uses a QGLWidget for it's viewport, however disabling the GL viewport does not make it work either.
On Windows, this works perfectly. On Linux/X11 the VideoWidget stays black, though the video does play (as with an AudioOutput connected you hear the audio, and the finished signal is emitted when the video is done).
This may be limited to certain hardware. I am using an Intel board which uses a 945 chipset for graphics.