[FFmpeg-cvslog] r17863 - trunk/libavdevice/alsa-audio-common.c

Luca Abeni lucabe72
Fri Nov 20 09:35:16 CET 2009

Ivo wrote:
>> What's the particular problem? Has alsa some problems with
>> non-blocking output, is libavformat broken in this regard,
>> or is it an application issue?
>> Maybe it is a problem with a particular driver? I am using
>> alsa playback right now, and it seems to work correctly:
>> ffmpeg -re -i file.mp3 -f alsa hw
> I forgot the -re option. With that, it works correctly. Well, at least I got 
> to use git-bisect for the first time :)


> Nevertheless, my fix might be the correct behaviour anyway, because the 
> documentation says:
> #define AVFMT_FLAG_NONBLOCK     0x0004 ///< Do not block when reading 
> packets from input.
> So it's an input-only flag, not an output flag.

You are right; there is an inconsistency between behaviour and documentation.
However, I do not know if the error is in the documentation or in the current
behaviour; maybe Michael can comment on this (he is the one who asked for the
nonblocking behaviour).

Once the expected behaviour of the flag is clarified, I'll commit the correct


More information about the ffmpeg-cvslog mailing list