diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-03-03 20:24:58 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-03-03 20:24:58 +0000 |
commit | d61f30a7a0231ede6999403874c5d99de7ea9c8a (patch) | |
tree | 0d466a499ec7e8749b8a9164fdb5b6df99dd2e35 /ffmpeg.c | |
parent | ded0149948129d4abff1ab5d715206b2c70890b7 (diff) | |
download | ffmpeg-d61f30a7a0231ede6999403874c5d99de7ea9c8a.tar.gz |
Do usleep(10000) when all demuxers returned EAGAIN.
Originally committed as revision 17784 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |