Jon Burgess napisa?(a): > > Removing the pthread_setschedparam() helps to prevent a complete > lockup in my setup. Unfortunately the soft lockups which require the > "kill -9" still occur. The patch attached seems to help, but hasn't > had much testing. As in mine, removing pthread_setschedparam() helps a little but not completly. > The patch attached also seems to help the plugin recover more > gracefully when it gets some bad data. It still needs some more work > because sometimes the stream still needs to be manually stopped and > restarted to resume playback (but at least it does stop instead, > rather than locking up vdr). This sounds better than manual vdr restart. > I think the problem that this patch helps address is that the > dvbplayer thread gets stuck waiting for the flush to finish and the > main VDR thread cancels it. Unfortunately the thread sometimes holds a > lock on the dxr3syncbuffer and this stops the video output thread. > With the patch applied, the flush returns and thread exits before the > 3 second thread cancel timeout. Now I'm tesing your patch, after while I return some feedback :-) -- Mikolaj Tutak