Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2.3
-
None
-
Windows 10
-
-
8afe5d160c (qt/qtmultimedia/dev) 02e96fca6c (qt/qtmultimedia/6.3) eb47e12fd8 (qt/qtmultimedia/6.2) 1f9c392668 (qt/qtmultimedia/dev) dc879d2ad2 (qt/qtmultimedia/6.3) 14758a8ea3 (qt/qtmultimedia/6.2) 14758a8ea3 (qt/qtmultimedia/6.2.4)
Description
There is a regression from Qt 6.2.2 - video is not rendered at all (always black frames) when OpenGL RHI backend is used.
QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL);
Most probably caused by https://codereview.qt-project.org/c/qt/qtmultimedia/+/383609.
There are also runtime warnings during video playback
Could not register D3D9 texture in OpenGL Texture from QVideoFrame is 0, this cannot be right Failed to initialize QRhiTexture wrapper for native texture object 0 Could not register D3D9 texture in OpenGL Texture from QVideoFrame is 0, this cannot be right Failed to initialize QRhiTexture wrapper for native texture object 0 Could not register D3D9 texture in OpenGL Texture from QVideoFrame is 0, this cannot be right Failed to initialize QRhiTexture wrapper for native texture object 0 ...
This is critical for apps that use QtWebEngineQuick because it hardcodes QSGRendererInterface::OpenGL internally.
Attachments
Issue Links
- relates to
-
QTBUG-100341 [REG 6.2.2 - 6.2.3] Memory leak on MediaPlayer destruction
- Closed
-
QTBUG-100665 Crash in OpenGlVideoBuffer destructor
- Closed
-
QTBUG-102707 Several videos can't be played simultaneously with OpenGL RHI
- Closed