From abcaa7148518dd1dcbe520a32bc3f02a2ab9698c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 10 Jun 2015 14:33:01 +0200 Subject: [PATCH] rtpbaseaudiopayload: Use GST_BUFFER_PTS() instead of GST_BUFFER_TIMESTAMP() --- gst-libs/gst/rtp/gstrtpbaseaudiopayload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {