baseparse: reset PTS after seek
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 3 Jul 2013 19:23:44 +0000 (21:23 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 3 Jul 2013 19:26:18 +0000 (21:26 +0200)
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702778

libs/gst/base/gstbaseparse.c

index c13fa89..5152d03 100644 (file)
@@ -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;