libobs: Add obs_get_active_fps function

Allows getting the current active framerate that the core is rendering
with.  This takes in to account any rendering lag or stalls that may be
occurring.
This commit is contained in:
jp9000
2016-08-22 12:04:23 -07:00
parent f8fd87bbf6
commit 95ce556051
4 changed files with 20 additions and 0 deletions

View File

@@ -610,6 +610,8 @@ EXPORT void obs_view_render(obs_view_t *view);
EXPORT uint64_t obs_get_video_frame_time(void);
EXPORT double obs_get_active_fps(void);
/* ------------------------------------------------------------------------- */
/* Display context */