浏览代码

libobs: Deprecate obs_view_get_video_info

derrod 1 年之前
父节点
当前提交
fc891295b6
共有 1 个文件被更改,包括 2 次插入2 次删除
  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);
 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 */
 /** 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 */
 /** Enumerate the video info of all mixes using the specified view context */
 EXPORT void obs_view_enum_video_info(obs_view_t *view,
 EXPORT void obs_view_enum_video_info(obs_view_t *view,