niimaqsrc: add UNIX epoch reference timestamp for absolute timestamping

Requires GStreamer 1.14 and a downstream element that can use it.
This commit is contained in:
Joshua M. Doe
2019-10-02 09:17:05 -04:00
parent 54f9df72b7
commit 11bb336ee4
2 changed files with 36 additions and 2 deletions

View File

@@ -73,6 +73,10 @@ struct _GstNiImaqSrc {
gboolean session_started;
GAsyncQueue *time_queue;
GstClock *clock;
GstClockTime stream_base;
GstClockTime unix_base;
};
struct _GstNiImaqSrcClass {