[mythtv-commits] Ticket #2434: Workaround for hangs when ffwd/rewinding video
MythTV
mythtv at cvs.mythtv.org
Wed Dec 27 15:14:21 UTC 2006
#2434: Workaround for hangs when ffwd/rewinding video
---------------------------------------------+------------------------------
Reporter: matt-bulk-mythtv at holgate.org.uk | Owner: danielk
Type: patch | Status: new
Priority: minor | Milestone: 0.21
Component: mythtv | Version: head
Severity: medium | Resolution:
---------------------------------------------+------------------------------
Comment (by tomimo at ncircle.nullnet.fi):
Ok, I've run some tests with the latest patch and I must say I don't quite
follow the logic of that patch. The problem seems to be that whenever I
get into a situation where the NuppelVideoPlayer::Play() gets called
_before_ the NuppelVideoPlayer::Pause() it's a deadlock, as the
UnpauseVideo()-method is not able to directly wakeup the
PauseVideo()-method ---> PauseVideo() is waiting for
video_actually_paused-variable to be true, but the UnpauseVideo()-method
doesn't touch that variable. Another thing I noticed was that the
pausevideo-variable is being used without locking, which might create some
races in some situations.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2434#comment:21>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list