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

Nicolas George nicolas.george at normalesup.org
Wed Nov 28 21:09:53 CET 2012

L'octidi 8 frimaire, an CCXXI, Michael Niedermayer a écrit :
> then the layout could be hacked at the very end, while it stays
> correct throughout the filter graph
> And one coukd add a flag that prevents the layout from being hacked
> so new applications can set that flag and wont be affected.

That could probably made to work, but from an API design point of view, this
is IMHO completely atrocious: it is inconsistent (sometimes the layout must
match the count, sometimes not), and it exposes a backward compatibility in
the public API. And still, it does not really solve anything, since it still
can not code 5.1+mono.

The solution I propose is ugly, I am completely aware of that, but at least
it is consistent with the current practice and with itself.

If we apply it now, then we can start working on a real solution for the
next major bump.


  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/2d3dd8e9/attachment.asc>

More information about the ffmpeg-devel mailing list