obs-studio/plugins/linux-v4l2
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/locale Update translations from Crowdin 2023-05-01 23:11:13 +00:00
CMakeLists.txt cmake: Add changes for CMake build framework 3.0 2023-03-26 18:20:38 -04:00
linux-v4l2.c linux-v4l2: Improve module detection 2021-01-25 04:14:29 -08:00
v4l2-controls.c v4l2: Ignore menu controls with no permissible values 2021-10-16 15:24:20 -07:00
v4l2-controls.h linux-v4l2: Add support for controls 2019-12-18 09:22:05 -08:00
v4l2-decoder.c UI, libobs: Fix not handled in switch warnings 2023-03-26 10:47:01 +11:00
v4l2-decoder.h deps,libobs,plugins: Fix discarded-qualifiers warnings with FFmpeg 5 2022-07-22 08:50:36 -04:00
v4l2-helpers.c linux-v4l2: Add auto reset on timeout option 2021-01-20 16:45:05 -08:00
v4l2-helpers.h linux-v4l2: Use decoded MJPEG pixel format 2022-02-19 23:53:41 -03:00
v4l2-input.c linux-v4l2: Fix fallback framerate for camera 2023-03-19 09:39:36 +11:00
v4l2-output.c libobs, plugins: Deprecate obs_output_t functions with flag parameters 2023-05-20 16:41:55 -07:00
v4l2-udev.c linux-v4l2: Correct udev fd poll event test 2022-08-17 12:32:47 -03:00
v4l2-udev.h linux-v4l2: Replace custom udev callbacks 2015-04-23 21:50:36 +02:00