[Cin] ffmpeg 7.0 api changes

Andrew Randrianasulu randrianasulu at gmail.com
Sat Apr 6 12:24:09 CEST 2024


сб, 6 апр. 2024 г., 01:16 Andrew Randrianasulu <randrianasulu at gmail.com>:

> so I was using this  patch as guidance
>
>
> https://github.com/HandBrake/HandBrake/pull/4451/commits/5e86b74d405f63ed020fa09eb076a65b7337bd4e
>
> apparently channels was replaced by ch_layout.nb_channels
>
> and channel_layout
> by ch_layout.u.mask
>
> I'll try to put ifdef guards around those changes and make some patches ...
>


It compiles :)

but not sure if it actually works ..

note, it should compile even with our ffmpeg 6.1 , I hope? because api
change was for 5.1, 7.0 just removed it as "long deprecated" .

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240406/45d8ddef/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adapt-to-ffmpeg-7.0-drop-ffmpeg-pre-5.1-support.patch
Type: text/x-diff
Size: 12697 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240406/45d8ddef/attachment.bin>


More information about the Cin mailing list