+2005-12-17 Philippe Khalaf <burger@speedy.org>
+
+ * gst-libs/gst/rtp/gstbasertpdepayload.c:
+ (gst_base_rtp_depayload_set_gst_timestamp):
+ add queue delay to new segment as well (as opposed to just the first
+ buffer). (bug #322347)
+
2005-12-16 Stefan Kost <ensonic@users.sf.net>
* ext/libvisual/visual.c: (make_valid_name):
GST_DEBUG_OBJECT (filter, "calculating ts : timestamp : %u, clockrate : %u",
timestamp, filter->clock_rate);
- GST_BUFFER_TIMESTAMP (buf) = ts;
+ /* add delay to timestamp */
+ GST_BUFFER_TIMESTAMP (buf) = ts + (filter->queue_delay * GST_MSECOND);
+
GST_DEBUG_OBJECT (filter, "calculated ts %"
GST_TIME_FORMAT, GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)));
filter->need_newsegment = FALSE;
GST_DEBUG_OBJECT (filter, "Pushed newsegment event on this first buffer");
}
- /* add delay to timestamp */
- GST_BUFFER_TIMESTAMP (buf) =
- GST_BUFFER_TIMESTAMP (buf) + (filter->queue_delay * GST_MSECOND);
}
static void