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

Luca Abeni lucabe72
Thu Nov 19 08:20:07 CET 2009


Hi,

Ivo wrote:
> On Saturday 07 March 2009, 19:17:13, lucabe wrote:
>>      if (ctx->flags & AVFMT_FLAG_NONBLOCK) {
>> -        flags = O_NONBLOCK;
>> +        flags = SND_PCM_NONBLOCK;
>>      }
>>      res = snd_pcm_open(&h, audio_device, mode, flags);
> 
> This broke alsa playback. Fix:
[...]

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


			Luca



More information about the ffmpeg-cvslog mailing list