Do not use AVFMT_FLAG_NONBLOCK for the output file.

Allows to use output device alsa.
This commit is contained in:
Carl Eugen Hoyos 2011-03-08 20:45:26 +01:00
parent cc4d3dd3e2
commit 0de8ebf491

View File

@ -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);