[mythtv-commits] Ticket #12902: Cannot make QOpenGLContext current in a different thread (occurred while watching live tv)
MythTV
noreply at mythtv.org
Mon Dec 3 20:25:45 UTC 2018
#12902: Cannot make QOpenGLContext current in a different thread (occurred while
watching live tv)
-------------------------------------------------+-------------------------
Reporter: William L. DeRieux IV | Owner: Peter
<WilliamDeRieux@…> | Bennett
Type: Bug Report - Crash | Status:
| accepted
Priority: minor | Milestone: 30.0
Component: MythTV - Video Playback | Version: 0.28.0
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------------------+-------------------------
Comment (by Peter Bennett):
As Roger has pointed out, the decoder thread calls
MythPlayer::!FileChangedCallback which then lands up calling the OpenGL
API from the wrong thread. The solution looks to be for the decoder thread
to set an indicator that the player thread will check in !EventLoop and
call MythPlayer::!FileChangedCallback from the player thread.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12902#comment:24>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list