obs-studio/plugins/win-dshow
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
..
data win-dshow: Remove obsolete translation 2023-05-20 16:35:05 -07:00
libdshowcapture@7a2cd19243 Update copyrights/names 2023-05-20 01:31:18 -07:00
virtualcam-module cmake: Add changes for CMake build framework 3.0 2023-03-26 18:20:38 -04:00
CMakeLists.txt cmake: Add changes for CMake build framework 3.0 2023-03-26 18:20:38 -04:00
dshow-plugin.cpp plugins: Update CMakeLists.txt for included plugins 2022-03-16 23:11:08 +01:00
encode-dstr.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
ffmpeg-decode.c Update copyrights/names 2023-05-20 01:31:18 -07:00
ffmpeg-decode.h Update copyrights/names 2023-05-20 01:31:18 -07:00
shared-memory-queue.c win-dshow: Check return values for memory allocation functions 2021-03-23 03:07:22 +01:00
shared-memory-queue.h win-dshow: Add Virtual Camera (Windows) 2020-07-07 06:09:59 -07:00
tiny-nv12-scale.c win-dshow: Add support for YUY2 in virtualcam 2020-11-14 04:25:39 -08:00
tiny-nv12-scale.h win-dshow: Add support for YUY2 in virtualcam 2020-11-14 04:25:39 -08:00
virtualcam-guid.h.in plugins: Update CMakeLists.txt for included plugins 2022-03-16 23:11:08 +01:00
virtualcam-install.bat.in win-dshow: Set current working directory in VirtualCam scripts 2020-09-15 19:58:02 +10:00
virtualcam-uninstall.bat.in win-dshow: Set current working directory in VirtualCam scripts 2020-09-15 19:58:02 +10:00
virtualcam.c libobs, plugins: Deprecate obs_output_t functions with flag parameters 2023-05-20 16:41:55 -07:00
win-dshow-encoder.cpp plugins: Cleanup unused-parameters 2022-07-19 11:01:00 -04:00
win-dshow.cpp win-dshow: Change buffering for Elgato devices 2023-04-01 16:03:33 -07:00