From: Tim-Philipp Müller Date: Wed, 14 Nov 2012 00:13:36 +0000 (+0000) Subject: gst_adapter_prev_timestamp -> gst_adapter_prev_pts X-Git-Tag: 1.19.3~509^2~6351 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdf3c77828ac9731492724bcdc86a70d3884fb5c;p=platform%2Fupstream%2Fgstreamer.git gst_adapter_prev_timestamp -> gst_adapter_prev_pts https://bugzilla.gnome.org/show_bug.cgi?id=675598 --- diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index 2e5f51a..48864c7 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -545,7 +545,7 @@ gst_goom_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer) GST_DEBUG_OBJECT (goom, "processing buffer"); /* get timestamp of the current adapter byte */ - timestamp = gst_adapter_prev_timestamp (goom->adapter, &dist); + timestamp = gst_adapter_prev_pts (goom->adapter, &dist); if (GST_CLOCK_TIME_IS_VALID (timestamp)) { /* convert bytes to time */ dist /= goom->bps; diff --git a/gst/goom2k1/gstgoom.c b/gst/goom2k1/gstgoom.c index e378fff..e124edc 100644 --- a/gst/goom2k1/gstgoom.c +++ b/gst/goom2k1/gstgoom.c @@ -541,7 +541,7 @@ gst_goom_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer) GST_DEBUG_OBJECT (goom, "processing buffer"); /* get timestamp of the current adapter byte */ - timestamp = gst_adapter_prev_timestamp (goom->adapter, &dist); + timestamp = gst_adapter_prev_pts (goom->adapter, &dist); if (GST_CLOCK_TIME_IS_VALID (timestamp)) { /* convert bytes to time */ dist /= goom->bps; diff --git a/gst/rtp/gstrtpmp4adepay.c b/gst/rtp/gstrtpmp4adepay.c index 015f212..3325f0b 100644 --- a/gst/rtp/gstrtpmp4adepay.c +++ b/gst/rtp/gstrtpmp4adepay.c @@ -325,7 +325,7 @@ gst_rtp_mp4a_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf) GstClockTime timestamp; avail = gst_adapter_available (rtpmp4adepay->adapter); - timestamp = gst_adapter_prev_timestamp (rtpmp4adepay->adapter, NULL); + timestamp = gst_adapter_prev_pts (rtpmp4adepay->adapter, NULL); GST_LOG_OBJECT (rtpmp4adepay, "have marker and %u available", avail); diff --git a/gst/rtp/gstrtpmparobustdepay.c b/gst/rtp/gstrtpmparobustdepay.c index 0b80a77..aa20cee 100644 --- a/gst/rtp/gstrtpmparobustdepay.c +++ b/gst/rtp/gstrtpmparobustdepay.c @@ -716,7 +716,7 @@ gst_rtp_mpa_robust_depay_process (GstRTPBaseDepayload * depayload, av += gst_buffer_get_size (buf); gst_adapter_push (rtpmpadepay->adapter, buf); if (av == size) { - timestamp = gst_adapter_prev_timestamp (rtpmpadepay->adapter, NULL); + timestamp = gst_adapter_prev_pts (rtpmpadepay->adapter, NULL); buf = gst_adapter_take_buffer (rtpmpadepay->adapter, size); GST_BUFFER_TIMESTAMP (buf) = timestamp; gst_rtp_mpa_robust_depay_submit_adu (rtpmpadepay, buf);