obs-studio/deps
Ryan Foster ce734366bc obs-ffmpeg: Respect AVFormatContext and AVOutputFormat constness
AVFormatContext::oformat was made const on April 27, 2021 [1]. If we
respect the constness of AVOutputFormat and do not cast results from
FFmpeg functions to non-const, we cannot modify the results after the
fact. Our choices are either to cast them to non-const (and presumably
have them implicitly casted back to const on later function calls), or
only try to modify the results in versions of FFmpeg where these are not
expected to be const.

Instead of relying on casts, we can set the encoder values in the
ffmpeg_cfg struct, which are later passed to new_stream.

Also modifies deps/media-playback. Removes compiler warnings.
Some avformat functions return const AV(In/Out)putFormat per [1], so
ifdef as needed.

[1]: 56450a0ee4
     lavf 59.0.100 avformat.h
     avformat: Constify the API wrt AV(In|Out)putFormat

     Also constify AVProbeData.
2021-11-23 12:10:25 -05:00
..
blake2 cmake: Add cmake folders 2020-05-13 06:52:37 -07:00
file-updater CMake: Set PIC for all library targets 2020-09-09 01:55:50 +02:00
glad deps-glad: Add DMA-BUF EGL extensions 2021-02-13 19:42:01 -03:00
ipc-util ipc-util: Fix potential ready_event hang 2021-11-21 01:38:36 -08:00
jansson deps: Update cmake_minimum_required to 2.8.12 2021-01-18 01:37:45 -08:00
json11 deps/json11: Update to most recent version 2020-12-09 22:23:03 -08:00
libcaption libcaption: Fix static keyword placement 2021-01-29 23:59:23 -08:00
libff deps: Update cmake_minimum_required to 2.8.12 2021-01-18 01:37:45 -08:00
lzma cmake: Add cmake folders 2020-05-13 06:52:37 -07:00
media-playback obs-ffmpeg: Respect AVFormatContext and AVOutputFormat constness 2021-11-23 12:10:25 -05:00
obs-scripting obs-scripting: add transition duration functions 2021-10-15 16:50:59 -07:00
opts-parser obs-x264: Move options parser to its own lib 2021-10-25 12:24:16 -07:00
w32-pthreads cmake: Add cmake folders 2020-05-13 06:52:37 -07:00
CMakeLists.txt obs-x264: Move options parser to its own lib 2021-10-25 12:24:16 -07:00