diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/liveadder/liveadder.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c index 645967d2..eaf396d6 100644 --- a/gst/liveadder/liveadder.c +++ b/gst/liveadder/liveadder.c @@ -1075,6 +1075,11 @@ gst_live_adder_loop (gpointer data) if (!buffer) goto again; + /* + * We make sure the timestamps are exactly contiguous + * If its only small skew (due to rounding errors), we correct it + * silently. Otherwise we put the discont flag + */ if (GST_CLOCK_TIME_IS_VALID (adder->next_timestamp) && GST_BUFFER_TIMESTAMP (buffer) != adder->next_timestamp) { if (llabs (GST_BUFFER_TIMESTAMP (buffer) - adder->next_timestamp) < |