From 92a474b18c957d9b9a6f13997af7ccb1cc5b048e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 8 Mar 2010 12:11:01 +0100 Subject: [PATCH] basedepay: clarify some documentation --- gst-libs/gst/rtp/gstbasertpdepayload.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gst-libs/gst/rtp/gstbasertpdepayload.c b/gst-libs/gst/rtp/gstbasertpdepayload.c index 7afa5dde07..920f0a966b 100644 --- a/gst-libs/gst/rtp/gstbasertpdepayload.c +++ b/gst-libs/gst/rtp/gstbasertpdepayload.c @@ -534,9 +534,10 @@ gst_base_rtp_depayload_push_full (GstBaseRTPDepayload * filter, * Push @out_buf to the peer of @filter. This function takes ownership of * @out_buf. * - * Unlike gst_base_rtp_depayload_push(), this function will apply @timestamp - * on the outgoing buffer, using the configured clock_rate to convert the - * timestamp to a valid GStreamer clock time. + * Unlike gst_base_rtp_depayload_push(), this function will by default apply + * the last incomming timestamp on the outgoing buffer when it didn't have a + * timestamp already. The set_get_timestamp vmethod can be overwritten to change + * this behaviour (and take, for example, @timestamp into account). * * Returns: a #GstFlowReturn. */ @@ -556,7 +557,8 @@ gst_base_rtp_depayload_push_ts (GstBaseRTPDepayload * filter, guint32 timestamp, * @out_buf. * * Unlike gst_base_rtp_depayload_push_ts(), this function will not apply - * any timestamp on the outgoing buffer. + * any timestamp on the outgoing buffer. Subclasses should therefore timestamp + * outgoing buffers themselves. * * Returns: a #GstFlowReturn. */