Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-22795

Phonon::VideoWidget inside QGraphicsView does not work in Linux/X11 (Possibly Hardware Dependent)

    XMLWordPrintable

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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            tallen Travis Allen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes