-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
6.5.3
-
-
e5d614f59 (dev), cc4dd8776 (6.7), 807c4e10a (6.6), 13d7ed987 (tqtc/lts-6.5)
On embedded Linux with EGLFS platform plugin.
Trying to capture from Window (see QTBUG-117877 ) leads to an error message suggesting capturing works with composited windows only, but that doesn't work either and just leads to an abort() call because capture happens in a new thread which cannot access OpenGL context of the window.
Running attached application leads to this output:
qml: starting screen capture qt.multimedia.ffmpeg.surfacecapturethread: Screen capture rate has been changed: 60 qt.multimedia.ffmpeg.surfacecapturethread: start screen capture thread Cannot make QOpenGLContext current in a different thread
| For Gerrit Dashboard: QTBUG-117878 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 523683,14 | Use composition to run screen capture on main thread if needed | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
| 525538,2 | Use composition to run screen capture on main thread if needed | 6.7 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
| 525593,2 | Use composition to run screen capture on main thread if needed | 6.6 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
| 525640,3 | Use composition to run screen capture on main thread if needed | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |