[mythtv-commits] Ticket #12902: Cannot make QOpenGLContext current in a different thread (occurred while watching live tv)
MythTV
noreply at mythtv.org
Thu Jan 26 12:36:21 UTC 2017
#12902: Cannot make QOpenGLContext current in a different thread (occurred while
watching live tv)
-------------------------------------------------+-------------------------
Reporter: William L. DeRieux IV | Owner:
<WilliamDeRieux@…> |
Type: Bug Report - Crash | Status: new
Priority: critical | Milestone: 0.28.1
Component: Qt5 issues | Version: 0.28.0
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------------------+-------------------------
Comment (by stuarta):
Based on that analysis, that makes me think that we should be using Qt's
signals
and slots to signal that up to the UI thread.
On a side note, when looking at this, I noted that the VAAPI code does a
check to see if it's actually on the UI thread before doing a
makeCurrent()
https://code.mythtv.org/cgit/mythtv/tree/mythtv/libs/libmythtv/videoout_openglvaapi.cpp#n137
which may be a potential way to identify issues like this.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12902#comment:17>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list