[FFmpeg-devel] [PATCH 2/6] lavu/channel_layout: implement unknown layouts.

Nicolas George nicolas.george at normalesup.org
Wed Nov 28 20:34:23 CET 2012


L'octidi 8 frimaire, an CCXXI, Michael Niedermayer a écrit :
> Iam not sure its a API break,
> Currently if the layout is 0 or mismatching the channel count the
> behavior is undefined. 

Both are wrong, but it does not matter.

> If we define that channel layout = 0 is allowed then this would only
> add a definition where none was before.
> 
> but i may be missing something

You are missing something that I explained at least twice before: at the end
of a lavfi filter, the channel layout is the currently the authoritative
information about the number of channels, because the channel count field
was introduced too recently.

Regards,

-- 
  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://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121128/aec61c7c/attachment.asc>


More information about the ffmpeg-devel mailing list