From 6ddbaaa95cf47ca353ae6d43feb2f75627d5849b Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Wed, 27 Mar 2013 18:25:08 +0100 Subject: [PATCH] baseparse: reset next_pts upon SEGMENT event Fixes https://bugzilla.gnome.org/show_bug.cgi?id=691481 --- libs/gst/base/gstbaseparse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c index 67480b6..ba6d37f 100644 --- a/libs/gst/base/gstbaseparse.c +++ b/libs/gst/base/gstbaseparse.c @@ -1036,6 +1036,7 @@ gst_base_parse_sink_event_default (GstBaseParse * parse, GstEvent * event) parse->priv->offset = offset; parse->priv->sync_offset = offset; parse->priv->next_dts = next_dts; + parse->priv->next_pts = GST_CLOCK_TIME_NONE; parse->priv->last_pts = GST_CLOCK_TIME_NONE; parse->priv->last_dts = GST_CLOCK_TIME_NONE; parse->priv->prev_pts = GST_CLOCK_TIME_NONE; -- 2.7.4