0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-19 20:32:15 +02:00

docs: Add obs_view_enum_video_info and deprecate obs_view_get_video_info

This commit is contained in:
derrod 2023-12-01 21:29:56 +01:00 committed by Lain
parent fc891295b6
commit 3f7133b2c7

View File

@ -895,6 +895,14 @@ Views
.. function:: bool obs_view_get_video_info(obs_view_t *view, struct obs_video_info *ovi)
Gets the video settings currently in use for this view context.
Gets the video settings of the first matching mix currently in use for this view context.
:return: *false* if no video
.. deprecated:: 3X.X
---------------------
.. function:: void obs_view_enum_video_info(obs_view_t *view, bool (*enum_proc)(void *, struct obs_video_info *), void *param)
Enumerates all the video info of all mixes that use the specified mix.