[FFmpeg-devel] [RFC] lavfi audio buffers and channel layout

Stefano Sabatini stefasab at gmail.com
Mon Jul 30 20:07:19 CEST 2012

On date Monday 2012-07-30 19:10:26 +0200, Nicolas George encoded:
> Le tridi 13 thermidor, an CCXX, Stefano Sabatini a écrit :
> > Can't find that function in ffmpeg.c.
> http://git.videolan.org/?p=ffmpeg.git;a=blob;f=ffmpeg.c;h=c2ea5bd894db735c847dc44e535447cfe355d382;hb=HEAD#l2369
> > We could follow this path: we open the decoder context in movie, in
> > case the channel layout is not set we try to auto-select it based on
> > the number of channels, warn and re-open the decoder.
> I do not think it needs to be so complicated: if the decoder did set the
> channels but not the channel layout, then it does not care about the later.

Applied this logic.
FFmpeg = Fantastic and Friendly Most Powered Enlightened Guide
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-lavfi-movie-force-channel-layout-if-not-set-by-the-d.patch
Type: text/x-diff
Size: 2803 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120730/bdf08b80/attachment.bin>

More information about the ffmpeg-devel mailing list