capture: add 64-bit time stamp for start time

We keep the start time as a iso8601 string, which is useful, but not
enough for relative timestamps to the epoch (start time). Include a
clock time in the same clock domain.
This commit is contained in:
Christian Hergert
2016-04-15 04:48:04 -07:00
parent f72306f5a8
commit ad5f855a2b
4 changed files with 15 additions and 1 deletions

View File

@ -33,6 +33,7 @@ SpCaptureReader *sp_capture_reader_ref (SpCapt
void sp_capture_reader_unref (SpCaptureReader *self);
const gchar *sp_capture_reader_get_filename (SpCaptureReader *self);
const gchar *sp_capture_reader_get_time (SpCaptureReader *self);
gint64 sp_capture_reader_get_start_time (SpCaptureReader *self);
gboolean sp_capture_reader_skip (SpCaptureReader *self);
gboolean sp_capture_reader_peek_type (SpCaptureReader *self,
SpCaptureFrameType *type);