[FFmpeg-devel] [PATCH] add AVCodecContext field to specify desired number of channels

Michael Niedermayer michaelni
Sun Aug 19 22:08:13 CEST 2007


On Sun, Aug 19, 2007 at 04:56:44PM +0200, Reimar D?ffinger wrote:
> Hello,
> since the current way of setting ->channels no matter how it is done
> will break some codecs I suggest adding a new field.
> Also has the advantage that it will be easier to allow handling the
> cases where either the number of desired channels changes or the number
> of channels in the file changes.
> I also think that the current behaviour of dca is not good: if it can't
> deliver the requested number of channels it should just use either
> something close or the native number instead of failing.
> Is it right to add this at the end of the context or should it be near
> "channels"?

looks ok though maybe you should wait a day or two before applying it
maybe someone, justin, kostya? have some comments

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070819/dbefab75/attachment.pgp>

More information about the ffmpeg-devel mailing list