Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9
-
None
-
-
3de2cafdd (dev), 25c27eaa3 (6.8), f9b21ed6d (tqtc/lts-6.5)
-
Multimedia wk 47-48, Multimedia wk 51-2, Multimedia wk 5-6, Multimedia wk 7-8
Description
when built for opengl (as in QT_CONFIG(opengl)), qImageFromVideoFrame cannot be used from worker threads:
- qImageFromVideoFrame calls initializeRHI
- initializeRHI calls QRhiGles2InitParams::newFallbackSurface
- QRhiGles2InitParams::newFallbackSurface docs state that "This function must only be called on the gui/main thread"
when running with the wayland qpa plugin, a warning is emitted:
> Attempting to create QWindow-based QOffscreenSurface outside the gui thread. Expect failures
we should either document/assert or try to lift this requirement
Attachments
Issue Links
- relates to
-
QTBUG-130970 [wayland] qtmm examples crash on rockchip when using wayland
-
- Closed
-
-
QTBUG-109039 Can't save QVideoFrame as an image from QML App
-
- Reported
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-131107 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
604086,11 | GStreamer: Image capture - fix QVideoFrame conversion | dev | qt/qtmultimedia | Status: MERGED | +2 | +1 |
606597,2 | GStreamer: Image capture - fix QVideoFrame conversion | 6.8 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
606617,4 | GStreamer: Image capture - fix QVideoFrame conversion | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |