summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTorsten Jager <t.jager@gmx.de>2011-08-22 11:51:20 +0200
committerTorsten Jager <t.jager@gmx.de>2011-08-22 11:51:20 +0200
commitedb68926aced0739f3e62ea2501bc32326c02f86 (patch)
treeebce4f31bf17486bc1ffffb55e183eeef1b7db20 /doc
parent7e6f30b0062375c30db8e67b464c7fe003ed15d5 (diff)
downloadxine-lib-edb68926aced0739f3e62ea2501bc32326c02f86.tar.gz
xine-lib-edb68926aced0739f3e62ea2501bc32326c02f86.tar.bz2
Video deadlock fix
When watching TV with Kaffeine I frequently had complete engine lockups. Multiple mutexes were waiting on each other. net_buf_ctrl requires the demuxer to keep running while playback is still paused. The diff might look a bit confusing. Basically, all I did was to replace phtread_mutex_lock (); ... pthread_mutex_unlock (); with if (pthread_mutex_trylock ()) { ... pthread_mutex_unlock (); } at a place where it does the least damage.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions