Browse Source

libobs: Deprecate obs_view_get_video_info

derrod 1 year ago
parent
commit
fc891295b6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libobs/obs.h

+ 2 - 2
libobs/obs.h

@@ -952,8 +952,8 @@ EXPORT video_t *obs_view_add2(obs_view_t *view, struct obs_video_info *ovi);
 EXPORT void obs_view_remove(obs_view_t *view);
 
 /** Gets the video settings currently in use for this view context, returns false if no video */
-EXPORT bool obs_view_get_video_info(obs_view_t *view,
-				    struct obs_video_info *ovi);
+OBS_DEPRECATED EXPORT bool obs_view_get_video_info(obs_view_t *view,
+						   struct obs_video_info *ovi);
 
 /** Enumerate the video info of all mixes using the specified view context */
 EXPORT void obs_view_enum_video_info(obs_view_t *view,