[FFmpeg-cvslog] Do not use AVFMT_FLAG_NONBLOCK for the output file.

Nicolas George nicolas.george
Tue Mar 8 21:10:47 CET 2011

L'octidi 18 vent?se, an CCXIX, M?ns Rullg?rd a ?crit?:
> But what does it break, or in other words, why was that flag being set?

AFAIK, the only risk is that with some versions of ALSA and/or kernels (but
not mine nor Carl Eugen's), ffmpeg may block indefinitely if the sound card
is already opened instead of failing immediately.

AVFMT_FLAG_NONBLOCK is very rarely implemented, as far as I can see, ALSA is
the only output device that takes it into account.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20110308/cce3d215/attachment.pgp>

More information about the ffmpeg-cvslog mailing list