From 97b1e17b097f6e510920618d17433fda5e5a039e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 3 Jul 2013 21:23:44 +0200 Subject: [PATCH] baseparse: reset PTS after seek Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702778 --- 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 c13fa89fef..5152d03102 100644 --- a/libs/gst/base/gstbaseparse.c +++ b/libs/gst/base/gstbaseparse.c @@ -4130,6 +4130,7 @@ gst_base_parse_handle_seek (GstBaseParse * parse, GstEvent * event) parse->priv->seen_keyframe = FALSE; parse->priv->discont = TRUE; parse->priv->next_dts = start_ts; + parse->priv->next_pts = GST_CLOCK_TIME_NONE; parse->priv->last_dts = GST_CLOCK_TIME_NONE; parse->priv->last_pts = GST_CLOCK_TIME_NONE; parse->priv->sync_offset = seekpos;