mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-29 08:31:54 -05:00
The channel_layout API was overhauled by FFmpeg [1-4]. The previous bitmask channel_layout is replaced by a struct ch_layout which combines the number of channels, a bitmask and other infos. This struct must now be supplied to AVframes since avutil >= 57.24.100 and to AVCodecContext since avcodec 59.24.100 per (1]. This commit provides the required info to obs-ffmpeg-mpegts. [1] Bump minor versions after the channel layout changes FFmpeg/FFmpeg@cdba98b [2] lavc: switch to the new channel layout API FFmpeg/FFmpeg@548aeb9 [3] avutil/channel_layout: Add a new channel layout API FFmpeg/FFmpeg@086a804 [4] avframe: switch to the new channel layout API db6efa18 FFmpeg/FFmpeg@db6efa1 Signed-off-by: pkv <pkv@obsproject.com>