]> git.sesse.net Git - ffmpeg/commitdiff
Do not use AVFMT_FLAG_NONBLOCK for the output file.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 8 Mar 2011 19:45:26 +0000 (20:45 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 8 Mar 2011 19:45:26 +0000 (20:45 +0100)
Allows to use output device alsa.

ffmpeg.c

index 3b0dd1bdb8d943f2508d3d2c1d22a7269756aac1..3c51079ef1d9c14c9d68af33783433f611f3740e 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3835,7 +3835,6 @@ static void opt_output_file(const char *filename)
     oc->preload= (int)(mux_preload*AV_TIME_BASE);
     oc->max_delay= (int)(mux_max_delay*AV_TIME_BASE);
     oc->loop_output = loop_output;
-    oc->flags |= AVFMT_FLAG_NONBLOCK;
 
     set_context_opts(oc, avformat_opts, AV_OPT_FLAG_ENCODING_PARAM, NULL);