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

Dynamically creating a video causes error with OpenGL backend

    XMLWordPrintable

Details

    • Linux/Yocto

    Description

      Reproducer attached. What original reporter reports is that if this reproducer is run on Raspberry Pi 4, then such error happens:

      Could not fill context info: glGetString not defined or returned invalid value
      

      I also tried on RPI5 (since RPI 4 is not a Tier 1 target) and can confirm that. The error happens. Nevertheless, it seems to not affect video loading and playing.

      Since the issue is about OpenGL function call, I also tried on Windows with " QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL);". So with OpenGL backend, a different error message also pops up on desktop:

      failed to get textures for frame; format: 171
      

      But again, the error seems to not affect anything. Video is played correctly.

      So the problem seems to be that an item that contains video should not be pushed into StackView like that. On the other hand, if the item is set as initial item (uncomment line 14 and comment out line 13 of Main.qml), then the error goes away (regardless of error message).

      Attachments

        1. QTBUG-132457.zip
          5 kB
          Luqiao Chen
        2. QTBUG-132457-simplified.7z
          1 kB
          Luqiao Chen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            luqiaochen Luqiao Chen
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes