Do not use AVFMT_FLAG_NONBLOCK for the output file.
authorNicolas George <nicolas.george@normalesup.org>
Sat, 16 Jul 2011 08:09:17 +0000 (10:09 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Tue, 19 Jul 2011 08:12:33 +0000 (10:12 +0200)
Restore the commit 0de8ebf by Carl Eugen Hoyos that was lost during the
merge 58257ea.

ffmpeg.c

index 662b5e5..fb72a3a 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3976,7 +3976,6 @@ static int opt_output_file(const char *opt, const char *filename)
         av_log(NULL, AV_LOG_WARNING, "-loop_output is deprecated, use -loop\n");
         oc->loop_output = loop_output;
     }
-    oc->flags |= AVFMT_FLAG_NONBLOCK;
 
     frame_rate    = (AVRational){0, 0};
     frame_width   = 0;