[FFmpeg-devel] [PATCH 2/6] lavu/channel_layout: implement unknown layouts.
michaelni at gmx.at
Wed Nov 28 20:53:01 CET 2012
On Wed, Nov 28, 2012 at 08:34:23PM +0100, Nicolas George wrote:
> 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.
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.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel