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

Michael Niedermayer michaelni
Fri Dec 14 16:25:45 CET 2007


On Fri, Dec 14, 2007 at 10:10:07AM +0100, Andreas ?man wrote:
> Hello,
>
> Michael Niedermayer wrote:
>> it is just advisory (=many codecs ignore it currently)
>> codecs which fail hard due to request_chan could be changed ...
>
> Here are four patches.
>
> I believe they should be applied at the same time (not in the same
> commit though).
>
> I've fixed the dca.c and ac3dec.c to interpret reqeust_channels
> in a advisory way.
>
> ffmpeg.c now sets up the resampler after the first frame is decoded.
>
> and the changes to ffplay.c is pretty straight forward.
> I have not been able to make SDL work with more than two channels.
> Also, the man-page says that only mono and stereo is supported.
>
> So, If each maintainer can have a look at these please :)

[...]
> Index: ffmpeg.c
> ===================================================================
> --- ffmpeg.c	(revision 11202)
> +++ ffmpeg.c	(working copy)

looks ok as well if it passes regression tests and works

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I count him braver who overcomes his desires than him who conquers his
enemies for the hardest victory is over self. -- Aristotle
-------------- 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/20071214/73c8c3d6/attachment.pgp>



More information about the ffmpeg-devel mailing list