[FFmpeg-devel] abuffersink without opaque

Stefano Sabatini stefasab at gmail.com
Tue May 29 15:46:19 CEST 2012


On date Tuesday 2012-05-29 14:44:25 +0200, Robert Nagy encoded:
> Stefano: How can a user specify all formats, if "ff_all_channel_layouts" is
> internal?

Keep in mind that API changed during the last two weeks due to libav
merges. Many of these merges introduced problems, mostly because they
do things in different or slightly different way (possibly more
limited / less flexible in some cases). One of the affected areas is
the format API, now pixel/sample formats are handled differently
with respects to channel layouts/sample rates, which leads to code
duplication and inconsistency.

The old path can still be found in formats.c -
avfilter_make_all_channel_layouts(), but commented out, the "new"
audio API is internal so can't be called by external applications.

Help for cleaning all this out to an acceptable state is welcome.
-- 
FFmpeg = Fascinating Formidable Moronic Perennial Elegant God


More information about the ffmpeg-devel mailing list