Commit 021ca1f4 authored by michael's avatar michael

dont let the demuxer thread die before the video has actually been played as...

dont let the demuxer thread die before the video has actually been played as seeking would become impossible shortly before EOF


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2705 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9b5a8302
......@@ -1423,7 +1423,8 @@ static int decode_thread(void *arg)
/* if the queue are full, no need to read more */
if (is->audioq.size > MAX_AUDIOQ_SIZE ||
is->videoq.size > MAX_VIDEOQ_SIZE) {
is->videoq.size > MAX_VIDEOQ_SIZE ||
url_feof(&ic->pb)) {
/* wait 10 ms */
SDL_Delay(10);
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment