Commit 615dd6c6 authored by michael's avatar michael

Avoid 100% CPU useage at EOF.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18625 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4cafd99a
......@@ -2079,6 +2079,7 @@ static int decode_thread(void *arg)
pkt->size=0;
pkt->stream_index= is->video_stream;
packet_queue_put(&is->videoq, pkt);
SDL_Delay(10);
continue;
}
ret = av_read_frame(ic, pkt);
......
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