From: Sebastian Dröge Date: Wed, 10 Jun 2015 12:33:01 +0000 (+0200) Subject: rtpbaseaudiopayload: Use GST_BUFFER_PTS() instead of GST_BUFFER_TIMESTAMP() X-Git-Tag: 1.19.3~511^2~3550 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=abcaa7148518dd1dcbe520a32bc3f02a2ab9698c;p=platform%2Fupstream%2Fgstreamer.git rtpbaseaudiopayload: Use GST_BUFFER_PTS() instead of GST_BUFFER_TIMESTAMP() --- diff --git a/gst-libs/gst/rtp/gstrtpbaseaudiopayload.c b/gst-libs/gst/rtp/gstrtpbaseaudiopayload.c index d3da4c9884..b1bedf1d2c 100644 --- a/gst-libs/gst/rtp/gstrtpbaseaudiopayload.c +++ b/gst-libs/gst/rtp/gstrtpbaseaudiopayload.c @@ -415,7 +415,7 @@ gst_rtp_base_audio_payload_set_meta (GstRTPBaseAudioPayload * payload, } gst_rtp_buffer_unmap (&rtp); - GST_BUFFER_TIMESTAMP (buffer) = timestamp; + GST_BUFFER_PTS (buffer) = timestamp; /* get the offset in RTP time */ GST_BUFFER_OFFSET (buffer) = priv->bytes_to_rtptime (payload, priv->offset); @@ -820,7 +820,7 @@ gst_rtp_base_audio_payload_handle_buffer (GstRTPBasePayload * payload = GST_RTP_BASE_AUDIO_PAYLOAD_CAST (basepayload); priv = payload->priv; - timestamp = GST_BUFFER_TIMESTAMP (buffer); + timestamp = GST_BUFFER_PTS (buffer); discont = GST_BUFFER_IS_DISCONT (buffer); if (discont) {