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 c13fa89fef4b3fea2fcb417d3a8d09651c62f0b8..5152d03102fc86471e6c50e44c37bbb1b099d5bc 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;