[SCM] libav/experimental: Do usleep(10000) when all demuxers returned EAGAIN.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:40:28 UTC 2013


The following commit has been merged in the experimental branch:
commit d61f30a7a0231ede6999403874c5d99de7ea9c8a
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Tue Mar 3 20:24:58 2009 +0000

    Do usleep(10000) when all demuxers returned EAGAIN.
    
    Originally committed as revision 17784 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffmpeg.c b/ffmpeg.c
index a78c8c6..6dcc68a 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list