From: Frantisek D. <va...@us...> - 2004-04-08 11:23:22
|
Update of /cvsroot/xine/xine-lib/src/xine-engine In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14610/src/xine-engine Modified Files: video_decoder.c Log Message: Degrease jerking with OGM subtitles. Index: video_decoder.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/xine-engine/video_decoder.c,v retrieving revision 1.146 retrieving revision 1.147 diff -u -r1.146 -r1.147 --- video_decoder.c 7 Apr 2004 18:10:21 -0000 1.146 +++ video_decoder.c 8 Apr 2004 11:10:10 -0000 1.147 @@ -83,8 +83,10 @@ if (stream->xine->port_ticket->ticket_revoked) stream->xine->port_ticket->renew(stream->xine->port_ticket, 0); + /* never wait, if we share the thread with a video decoder */ + thread_vacant = !stream->video_decoder_plugin; /* we have to return if video out calls for the decoder */ - if (stream->video_fifo->first) + if (thread_vacant && stream->video_fifo->first) thread_vacant = (stream->video_fifo->first->type != BUF_CONTROL_FLUSH_DECODER); /* we have to return if the demuxer needs us to release a buffer */ if (thread_vacant) |