0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/plugins/obs-outputs
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-outputs: Add missing translations 2023-05-20 16:35:05 -07:00
ftl-sdk@d0c8469f66 obs-outputs: Update FTL sdk to latest version 2020-02-27 06:45:43 -08:00
librtmp obs-outputs: Fix keychain API deprecation warnings on macOS 2023-05-13 16:59:42 -07:00
CMakeLists.txt cmake: Add changes for CMake build framework 3.0 2023-03-26 18:20:38 -04:00
flv-mux.c Update copyrights/names 2023-05-20 01:31:18 -07:00
flv-mux.h Update copyrights/names 2023-05-20 01:31:18 -07:00
flv-output.c libobs, plugins: Deprecate obs_output_t functions with flag parameters 2023-05-20 16:41:55 -07:00
ftl-stream.c libobs, plugins: Deprecate obs_output_t functions with flag parameters 2023-05-20 16:41:55 -07:00
net-if.c obs-output: Fix compiler warnings 2022-05-04 01:37:10 -07:00
net-if.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
null-output.c libobs, plugins: Deprecate obs_output_t functions with flag parameters 2023-05-20 16:41:55 -07:00
obs-output-ver.h Output version/commit to RTMP stream metadata 2014-07-01 13:41:32 -07:00
obs-outputs.c plugins: Update CMakeLists.txt for included plugins 2022-03-16 23:11:08 +01:00
rtmp-av1.c Update copyrights/names 2023-05-20 01:31:18 -07:00
rtmp-av1.h Update copyrights/names 2023-05-20 01:31:18 -07:00
rtmp-helpers.h Update copyrights/names 2023-05-20 01:31:18 -07:00
rtmp-hevc.c Update copyrights/names 2023-05-20 01:31:18 -07:00
rtmp-hevc.h Update copyrights/names 2023-05-20 01:31:18 -07:00
rtmp-stream.c libobs, plugins: Deprecate obs_output_t functions with flag parameters 2023-05-20 16:41:55 -07:00
rtmp-stream.h obs-outputs: Add support for AV1/HEVC over RTMP 2023-03-26 16:37:31 +02:00
rtmp-windows.c obs-outputs: Remove unnecessary header 2021-10-10 19:12:45 -07:00
utils.h obs-outputs: Add support for AV1/HEVC over RTMP 2023-03-26 16:37:31 +02:00