gentlsrc: check first for timestamp in nanoseconds

Then fallback to timestamp in ticks if needed.
This commit is contained in:
Joshua M. Doe
2021-11-09 08:37:57 -05:00
parent 6f84e34a1f
commit ddf2f6857e
2 changed files with 24 additions and 17 deletions

View File

@@ -105,8 +105,8 @@ struct _GstGenTlSrc
guint32 total_dropped_frames;
guint64 tick_frequency;
guint64 unix_latched_time;
guint64 gentl_latched_ticks;
guint64 unix_latched_ns;
guint64 gentl_latched_ns;
GstCaps *caps;
gint height;