obs-studio/plugins/obs-ffmpeg
tt2468 d314d4725d libobs, plugins: Deprecate obs_output_t functions with flag parameters
This deprecates the following functions, replacing them with new
versions:
- `obs_output_can_begin_data_capture()` - now `*capture2()`
- `obs_output_initialize_encoders()` - now `*encoders2()`
- `obs_output_begin_data_capture()` - now `*capture2()`

The flags parameter was initially designed to support audio-only or
video-only operation of an output which had the `OBS_OUTPUT_AV` flag,
however, full support for that was never implemented, and there are
likely fundamental issues with an implementation, mainly that most
outputs are programmed assuming that there will always be at least one
audio and one video track. This requires new flags specifying support
for optional audio/video, among other things.

An implementation to allow audio/video to be optional is best done
using the flag technique above, with audio/video enablement specified
by whether media (raw, `video_t/audio_t`) or encoder (`obs_encoder_t`)
objects are specified.

Since every implementation I could find always specifies `flags` as 0,
I was able to safely conclude that immediately removing the parameter's
functionality is safe to do.
2023-05-20 16:41:55 -07:00
..
cmake Update copyrights/names 2023-05-20 01:31:18 -07:00
data/locale obs-ffmpeg: Add missing translations 2023-05-20 16:35:05 -07:00
ffmpeg-mux Update copyrights/names 2023-05-20 01:31:18 -07:00
obs-amf-test obs-ffmpeg,cmake: Add a finder for AMF headers 2023-03-07 14:55:03 -05:00
obs-nvenc-test Update copyrights/names 2023-05-20 01:31:18 -07:00
CMakeLists.txt Update copyrights/names 2023-05-20 01:31:18 -07:00
obs-ffmpeg-audio-encoders.c Update copyrights/names 2023-05-20 01:31:18 -07:00
obs-ffmpeg-av1.c Update copyrights/names 2023-05-20 01:31:18 -07:00
obs-ffmpeg-compat.h obs-ffmpeg: Fix for FFmpeg 6 deprecating a flag 2023-03-01 13:23:51 -05:00
obs-ffmpeg-config.h.in obs-ffmpeg: Add HEVC support to NVENC 2022-04-28 08:59:53 -07:00
obs-ffmpeg-formats.h libobs,UI: Add P216/P416 pixel formats 2023-02-21 18:48:44 +01:00
obs-ffmpeg-hls-mux.c libobs, plugins: Deprecate obs_output_t functions with flag parameters 2023-05-20 16:41:55 -07:00
obs-ffmpeg-logging.c obs-ffmpeg: Separate logging code 2019-07-09 10:07:24 -07:00
obs-ffmpeg-mpegts.c libobs, plugins: Deprecate obs_output_t functions with flag parameters 2023-05-20 16:41:55 -07:00
obs-ffmpeg-mux.c libobs, plugins: Deprecate obs_output_t functions with flag parameters 2023-05-20 16:41:55 -07:00
obs-ffmpeg-mux.h obs-ffmpeg: Always reset timestamp 2022-08-30 22:41:29 -04:00
obs-ffmpeg-nvenc.c Update copyrights/names 2023-05-20 01:31:18 -07:00
obs-ffmpeg-output.c libobs, plugins: Deprecate obs_output_t functions with flag parameters 2023-05-20 16:41:55 -07:00
obs-ffmpeg-output.h obs-outputs,obs-ffmpeg: Use connect infos in outputs 2023-03-19 17:38:02 +01:00
obs-ffmpeg-rist.h obs-ffmpeg: Fix compilation warnings on Clang and GCC 2023-01-19 13:08:46 -05:00
obs-ffmpeg-source.c obs-ffmpeg: Use event for source reconnect thread 2023-04-04 15:11:59 -04:00
obs-ffmpeg-srt.h obs-ffmpeg: Initialize SRT stats object before requesting stats 2023-02-08 11:13:41 -08:00
obs-ffmpeg-url.h obs-ffmpeg: Native SRT/RIST for mpegts output 2022-07-30 17:03:10 +02:00
obs-ffmpeg-vaapi.c Update copyrights/names 2023-05-20 01:31:18 -07:00
obs-ffmpeg-video-encoders.c obs-ffmpeg: Set framerate for AVCodecContext outputs 2023-04-03 23:28:31 +00:00
obs-ffmpeg-video-encoders.h deps,libobs,plugins: Fix discarded-qualifiers warnings with FFmpeg 5 2022-07-22 08:50:36 -04:00
obs-ffmpeg.c Update copyrights/names 2023-05-20 01:31:18 -07:00
obs-nvenc-helpers.c Update copyrights/names 2023-05-20 01:31:18 -07:00
obs-nvenc-ver.h Update copyrights/names 2023-05-20 01:31:18 -07:00
obs-nvenc.c Update copyrights/names 2023-05-20 01:31:18 -07:00
obs-nvenc.h Update copyrights/names 2023-05-20 01:31:18 -07:00
texture-amf-opts.hpp obs-ffmpeg: Add AMF AV1 encoder 2022-11-18 18:18:08 -08:00
texture-amf.cpp obs-ffmpeg: Set error message for AMF with P216/P416 2023-05-01 18:45:32 -04:00
vaapi-utils.c obs-ffmpeg: Add HDR and HEVC to VA-API encoder 2023-03-24 15:16:10 -07:00
vaapi-utils.h obs-ffmpeg: Add HDR and HEVC to VA-API encoder 2023-03-24 15:16:10 -07:00