Commit b046e450 authored by michael's avatar michael

Do usleep(10000) when all demuxers returned EAGAIN.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17784 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 279e7100
...@@ -2086,6 +2086,7 @@ static int av_encode(AVFormatContext **output_files, ...@@ -2086,6 +2086,7 @@ static int av_encode(AVFormatContext **output_files,
if(no_packet_count){ if(no_packet_count){
no_packet_count=0; no_packet_count=0;
memset(no_packet, 0, sizeof(no_packet)); memset(no_packet, 0, sizeof(no_packet));
usleep(10000);
continue; continue;
} }
break; 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