mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-22 22:15:21 -04:00
obs-ffmpeg: Update mpegts to channel API change
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>
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f