[FFmpeg-cvslog] r17784 - trunk/ffmpeg.c

michael subversion
Tue Mar 3 21:24:59 CET 2009


Author: michael
Date: Tue Mar  3 21:24:58 2009
New Revision: 17784

Log:
Do usleep(10000) when all demuxers returned EAGAIN.

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	Tue Mar  3 21:24:17 2009	(r17783)
+++ trunk/ffmpeg.c	Tue Mar  3 21:24:58 2009	(r17784)
@@ -2086,6 +2086,7 @@ static int av_encode(AVFormatContext **o
             if(no_packet_count){
                 no_packet_count=0;
                 memset(no_packet, 0, sizeof(no_packet));
+                usleep(10000);
                 continue;
             }
             break;




More information about the ffmpeg-cvslog mailing list