diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index 3cf5f603bf..a6e5a3fa35 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -3534,6 +3534,7 @@ pop_and_push_next (GstRtpJitterBuffer * jitterbuffer, guint seqnum) seqnum, GST_TIME_ARGS (GST_BUFFER_DTS (outbuf)), GST_TIME_ARGS (GST_BUFFER_PTS (outbuf))); priv->num_pushed++; + GST_BUFFER_DTS (outbuf) = GST_CLOCK_TIME_NONE; result = gst_pad_push (priv->srcpad, outbuf); JBUF_LOCK_CHECK (priv, out_flushing); diff --git a/tests/check/elements/rtpjitterbuffer.c b/tests/check/elements/rtpjitterbuffer.c index c6f2334edb..0d3c912d72 100644 --- a/tests/check/elements/rtpjitterbuffer.c +++ b/tests/check/elements/rtpjitterbuffer.c @@ -198,7 +198,6 @@ check_jitterbuffer_results (gint num_buffers) for (node = buffers; node; node = g_list_next (node)) { fail_if ((buffer = (GstBuffer *) node->data) == NULL); fail_if (GST_BUFFER_PTS (buffer) != ts); - fail_if (GST_BUFFER_DTS (buffer) != ts); gst_buffer_map (buffer, &map, GST_MAP_READ); cur_sn = ((guint16) map.data[2] << 8) | map.data[3]; cur_ts = ((guint32) map.data[4] << 24) | ((guint32) map.data[5] << 16) | @@ -784,7 +783,6 @@ GST_START_TEST (test_only_one_lost_event_on_large_gaps) out_buf = gst_harness_pull (h); fail_unless (GST_BUFFER_FLAG_IS_SET (out_buf, GST_BUFFER_FLAG_DISCONT)); fail_unless_equals_int (500, get_rtp_seq_num (out_buf)); - fail_unless_equals_uint64 (10 * GST_SECOND, GST_BUFFER_DTS (out_buf)); fail_unless_equals_uint64 (10 * GST_SECOND, GST_BUFFER_PTS (out_buf)); gst_buffer_unref (out_buf); @@ -1089,7 +1087,6 @@ GST_START_TEST (test_all_packets_are_timestamped_zero) /* check for the buffer coming out that was pushed in */ out_buf = gst_harness_pull (h); - fail_unless_equals_uint64 (0, GST_BUFFER_DTS (out_buf)); fail_unless_equals_uint64 (0, GST_BUFFER_PTS (out_buf)); gst_buffer_unref (out_buf); }