[FFmpeg-devel] [PATCH 4/4] ffmpeg: replace custom channel_layout code with an SpecifierOpt based one

Michael Niedermayer michael at niedermayer.cc
Sat Mar 19 20:29:16 EET 2022


On Fri, Mar 18, 2022 at 07:47:48PM -0300, James Almer wrote:
> This is cleaner and allows fine tuning which stream the option is applied to.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  fftools/ffmpeg.h     |  2 ++
>  fftools/ffmpeg_opt.c | 84 ++++++++++++++++++--------------------------
>  2 files changed, 36 insertions(+), 50 deletions(-)

Not sure its intended or not but
This changes the output of

./ffmpeg -channel_layout 3.0 -ac 3 -f u8 -i /dev/zero -t 1 /tmp/file-old.wav

thx

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

It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220319/a4f07843/attachment.sig>


More information about the ffmpeg-devel mailing list