summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-08-12 15:14:50 +0100
committerTim-Philipp Müller <tim@centricular.com>2016-02-16 00:24:40 +0000
commita526d014db03a409b6957a8dda596f008fc9bce8 (patch)
treed23b4f222adac047e97f9031a04fba93d1848d99
parent470c8b37208ff300f7bddd2868be9ffb04afee7c (diff)
downloadgstreamer-plugins-good-a526d014db03a409b6957a8dda596f008fc9bce8.tar.gz
rtph265depay: Use GST_BUFFER_PTS() instead of GST_BUFFER_TIMESTAMP()
Switching to GST_BUFFER_TIMESTAMP() to be consistent with other rtp code.
-rw-r--r--gst/rtp/gstrtph265depay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtp/gstrtph265depay.c b/gst/rtp/gstrtph265depay.c
index 15599ccd8..2f0b327b0 100644
--- a/gst/rtp/gstrtph265depay.c
+++ b/gst/rtp/gstrtph265depay.c
@@ -954,7 +954,7 @@ gst_rtp_h265_depay_handle_nal (GstRtpH265Depay * rtph265depay, GstBuffer * nal,
}
outbuf = gst_buffer_make_writable (outbuf);
- GST_BUFFER_TIMESTAMP (outbuf) = out_timestamp;
+ GST_BUFFER_PTS (outbuf) = out_timestamp;
if (out_keyframe)
GST_BUFFER_FLAG_UNSET (outbuf, GST_BUFFER_FLAG_DELTA_UNIT);
@@ -1047,7 +1047,7 @@ gst_rtp_h265_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf)
gboolean donl_present = FALSE;
#endif
- timestamp = GST_BUFFER_TIMESTAMP (buf);
+ timestamp = GST_BUFFER_PTS (buf);
gst_rtp_buffer_map (buf, GST_MAP_READ, &rtp);