0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/libobs/media-io
pkv2 252e352a51 libobs: Change audio resampler to new channel API
The channel_layout API was overhauled by FFmpeg [1-5]. The previous
bitmask channel_layout is replaced by a struct ch_layout which combines
the number of channels, a bitmask and other infos.
The resampler needs to be updated whenever using swresample > 4.5.100.
This commit makes the necessary changes.

[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
[5] swresample: convert to new channel layout API
FFmpeg/FFmpeg@8a5896e

Signed-off-by: pkv <pkv@obsproject.com>
2022-11-10 19:37:07 -05:00
..
audio-io.c libobs: Clamp audio NaN to 0.0f 2022-05-21 02:24:43 +02:00
audio-io.h libobs: Implement and use better scaling function for 64-bit integers 2020-04-05 20:27:28 +02:00
audio-math.h libobs/media-io: Add common audio math functions 2015-06-26 03:40:27 -07:00
audio-resampler-ffmpeg.c libobs: Change audio resampler to new channel API 2022-11-10 19:37:07 -05:00
audio-resampler.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
format-conversion.c libobs: fix building modules once installed 2019-11-27 14:00:15 -05:00
format-conversion.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
frame-rate.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
media-io-defs.h libobs: Move macro to internal C file 2017-10-02 07:36:02 -07:00
media-remux.c libobs: Force hvc1 codec tag for HEVC video and respect input tags 2022-11-02 22:44:20 +01:00
media-remux.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
video-fourcc.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
video-frame.c libobs: Add support for YUV422P10LE, YUV444P12LE, YUVA444P12LE 2022-04-19 19:37:07 +02:00
video-frame.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
video-io.c libobs/media-io: Restore color range conversion 2022-09-26 21:26:01 -07:00
video-io.h libobs: Add support for YUV422P10LE, YUV444P12LE, YUVA444P12LE 2022-04-19 19:37:07 +02:00
video-matrices.c libobs: Add support for YUV422P10LE, YUV444P12LE, YUVA444P12LE 2022-04-19 19:37:07 +02:00
video-scaler-ffmpeg.c libobs/media-io: Restore color range conversion 2022-09-26 21:26:01 -07:00
video-scaler.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00