Commit d61f30a7 authored by Michael Niedermayer's avatar Michael Niedermayer

Do usleep(10000) when all demuxers returned EAGAIN.

Originally committed as revision 17784 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ded01499
......@@ -2086,6 +2086,7 @@ static int av_encode(AVFormatContext **output_files,
if(no_packet_count){
no_packet_count=0;
memset(no_packet, 0, sizeof(no_packet));
usleep(10000);
continue;
}
break;
......
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