[mythtv-commits] Ticket #2434: Workaround for hangs when ffwd/rewinding video
MythTV
mythtv at cvs.mythtv.org
Tue Jul 10 21:10:03 UTC 2007
#2434: Workaround for hangs when ffwd/rewinding video
---------------------------------------------+------------------------------
Reporter: matt-bulk-mythtv at holgate.org.uk | Owner: danielk
Type: defect | Status: reopened
Priority: minor | Milestone: 0.21
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------
Changes (by tomimo at ncircle.nullnet.fi):
* status: closed => reopened
* resolution: fixed =>
Comment:
See attached PATCH[mythplayback2.diff]!
This particular bug can still be seen with the latest SVN trunk (13857).
It seems that there still exists a race condition, where the user rewinds
backwards and then presses PLAY to return to normal playback speed ---> it
is possible that a LIRC-based remote control thread is able to call
NuppelVideoPlayer::UnpauseVideo() before the mythfrontend thread calls
NuppelVideoPlayer::PauseVideo(). Whenever this happens the mythfrontend
hangs indefinetely with the error message "Waited too long for video out
to pause" over and over.
The attached patch fixes this particular race condition by still
introducing a single condition variable.
Regards,
Tomi Orava
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2434#comment:28>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list