From 51549bf6ba51d28c728dd3ce51e2771fe78154c3 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 10 Jun 2015 14:17:01 -0400 Subject: [PATCH] collectpads: Don't initially send an invalid DTS Sending a possibly invalid DTS may confuse the muxers, which will then think the DTS is going backward. https://bugzilla.gnome.org/show_bug.cgi?id=740575 --- libs/gst/base/gstcollectpads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/base/gstcollectpads.c b/libs/gst/base/gstcollectpads.c index 1973cdb..1ce1591 100644 --- a/libs/gst/base/gstcollectpads.c +++ b/libs/gst/base/gstcollectpads.c @@ -1642,7 +1642,7 @@ gst_collect_pads_clip_time (GstCollectPads * pads, GstCollectData * data, if (pads->priv->clip_func) { in = gst_buffer_new (); GST_BUFFER_PTS (in) = time; - GST_BUFFER_DTS (in) = time; + GST_BUFFER_DTS (in) = GST_CLOCK_TIME_NONE; pads->priv->clip_func (pads, data, in, &out, pads->priv->clip_user_data); if (out) { otime = GST_BUFFER_PTS (out); -- 2.7.4