[FFmpeg-devel] Make ffmpeg.c and ffplay.c use avctx->request_channels

Michael Niedermayer michaelni
Wed Dec 12 17:32:51 CET 2007


On Wed, Dec 12, 2007 at 02:32:57PM +0100, Andreas ?man wrote:
> Hi,
> 
> Michael Niedermayer wrote:
> > 
> > you assume that every codec with >2 chans can downmix this is likely not the
> > case
> > a CODEC_CAP_DOWNMIX could be added or just check the channels number after
> > avcodec_open()
> 
> Hm, yes, this is not so good.
> 
> Another option is to make request_channels 'advisory' only.

it is just advisory (=many codecs ignore it currently)
codecs which fail hard due to request_chan could be changed ...


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- 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/20071212/7cdff2a7/attachment.pgp>



More information about the ffmpeg-devel mailing list