libobs: Add function to get current video time (in nanosec)

Allows getting the timestamp for the video frame currently being
rendered.
This commit is contained in:
jp9000
2016-01-17 17:39:32 -08:00
parent 13890a46e6
commit 9c5f95d823
2 changed files with 7 additions and 0 deletions

View File

@@ -590,6 +590,8 @@ EXPORT obs_source_t *obs_view_get_source(obs_view_t *view,
/** Renders the sources of this view context */
EXPORT void obs_view_render(obs_view_t *view);
EXPORT uint64_t obs_get_video_frame_time(void);
/* ------------------------------------------------------------------------- */
/* Display context */