obs-studio/plugins/decklink
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 Update translations from Crowdin 2023-03-27 13:39:03 +00:00
linux plugins: Update CMakeLists.txt for included plugins 2022-03-16 23:11:08 +01:00
mac plugins: Update CMakeLists.txt for included plugins 2022-03-16 23:11:08 +01:00
win plugins: Update CMakeLists.txt for included plugins 2022-03-16 23:11:08 +01:00
audio-repack.c libobs: Enable compilation on aarch64 2019-11-25 13:04:21 -05:00
audio-repack.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
audio-repack.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
CMakeLists.txt decklink: Query for preroll frame count 2023-04-01 16:08:54 -07:00
const.h decklink: Fix automatic pixel format detection 2020-12-20 14:44:14 -08:00
decklink-device-discovery.cpp decklink: Use ComPtr for variables 2022-03-08 03:36:01 -08:00
decklink-device-discovery.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
decklink-device-instance.cpp decklink: Pass frames between threads using queues 2023-04-01 16:49:12 -07:00
decklink-device-instance.hpp decklink: Pass frames between threads using queues 2023-04-01 16:49:12 -07:00
decklink-device-mode.cpp decklink: Schedule video frames for playback 2023-03-28 11:19:43 -07:00
decklink-device-mode.hpp decklink: Schedule video frames for playback 2023-03-28 11:19:43 -07:00
decklink-device.cpp decklink: Query for preroll frame count 2023-04-01 16:08:54 -07:00
decklink-device.hpp decklink: Query for preroll frame count 2023-04-01 16:08:54 -07:00
decklink-devices.cpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
decklink-devices.hpp Decklink: add output support 2018-09-25 19:13:25 -05:00
decklink-output.cpp libobs, plugins: Deprecate obs_output_t functions with flag parameters 2023-05-20 16:41:55 -07:00
decklink-source.cpp decklink: Add HDR capture support 2023-03-26 01:52:44 -07:00
DecklinkBase.cpp mac-decklink: Fix C++ virtual function warnings 2020-08-06 12:53:30 -07:00
DecklinkBase.h mac-decklink: Fix C++ virtual function warnings 2020-08-06 12:53:30 -07:00
DecklinkInput.cpp decklink: Fix automatic pixel format detection 2020-12-20 14:44:14 -08:00
DecklinkInput.hpp decklink: Fix automatic pixel format detection 2020-12-20 14:44:14 -08:00
DecklinkOutput.cpp decklink: Schedule video frames for playback 2023-03-28 11:19:43 -07:00
DecklinkOutput.hpp decklink: Schedule video frames for playback 2023-03-28 11:19:43 -07:00
OBSVideoFrame.cpp decklink: Add destructor for OBSVideoFrame, initialize flags 2021-07-24 22:34:44 +02:00
OBSVideoFrame.h decklink: Add destructor for OBSVideoFrame, initialize flags 2021-07-24 22:34:44 +02:00
platform.hpp decklink: Make header self-sufficient 2021-10-10 19:12:45 -07:00
plugin-main.cpp decklink: Use ComPtr for variables 2022-03-08 03:36:01 -08:00
util.cpp decklink: Add missing newlines at the end of files 2023-02-18 15:22:33 -08:00
util.hpp decklink: Add missing newlines at the end of files 2023-02-18 15:22:33 -08:00