[mythtv-commits] Ticket #8854: Locking problem in videobuffers WaitForAvailable()
MythTV
mythtv at cvs.mythtv.org
Tue Oct 5 09:12:50 UTC 2010
#8854: Locking problem in videobuffers WaitForAvailable()
-------------------------------------------------------+--------------------
Reporter: tomi.orava@… | Owner: danielk
Type: defect | Status: closed
Priority: minor | Milestone: 0.25
Component: MythTV - General | Version: Trunk Head
Severity: medium | Resolution: Fixed
Keywords: Timed out waiting for free video buffers. | Ticket locked: 0
-------------------------------------------------------+--------------------
Changes (by markk):
* status: assigned => closed
* resolution: => Fixed
Comment:
(In [26653]) Remove VideoBuffers::WaitForAvailable
I've confirmed this is causing deadlocks in DVD playback. Given that it
is only used in one place (MythPlayer::DecoderGetFrame), I've replaced
that usage with a simple loop. VideoBuffers no doubt could use some
additional internal locking but EnoughFreeFrames has been in use
unprotected for years, so there is probably no real risk.
Closes #8854
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8854#comment:5>
MythTV <http://www.mythtv.org/>
MythTV Media Center
More information about the mythtv-commits
mailing list