cursor: add helper to get reader

We might need this so that we can access to the updated end time that was
determined by iterating frames.
This commit is contained in:
Christian Hergert
2018-05-16 12:42:44 +01:00
parent b7696198bf
commit 590d317a94
2 changed files with 16 additions and 0 deletions

View File

@ -42,6 +42,7 @@ typedef gboolean (*SpCaptureCursorCallback) (const SpCaptureFrame *frame,
gpointer user_data);
SpCaptureCursor *sp_capture_cursor_new (SpCaptureReader *reader);
SpCaptureReader *sp_capture_cursor_get_reader (SpCaptureCursor *self);
void sp_capture_cursor_foreach (SpCaptureCursor *self,
SpCaptureCursorCallback callback,
gpointer user_data);