mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 05:44:43 +08:00
docs: Add obs_view_enum_video_info and deprecate obs_view_get_video_info
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user