From: Wim Taymans Date: Mon, 3 Dec 2007 13:47:00 +0000 (+0000) Subject: gst-libs/gst/rtp/gstbasertppayload.c: Use runnning time as the base time instead... X-Git-Tag: RELEASE-0_10_16~83 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75aa042450b540c430c465cb3664608f9ed25750;p=platform%2Fupstream%2Fgst-plugins-base.git gst-libs/gst/rtp/gstbasertppayload.c: Use runnning time as the base time instead of the timestamp. Original commit message from CVS: * gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push): Use runnning time as the base time instead of the timestamp. Spotted by Saur on IRC. --- diff --git a/ChangeLog b/ChangeLog index 8192cc2..49676b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-12-03 Wim Taymans + + * gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push): + Use runnning time as the base time instead of the timestamp. + Spotted by Saur on IRC. + 2007-12-03 Edward Hervey * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps): diff --git a/gst-libs/gst/rtp/gstbasertppayload.c b/gst-libs/gst/rtp/gstbasertppayload.c index 944515a..598b1d7 100644 --- a/gst-libs/gst/rtp/gstbasertppayload.c +++ b/gst-libs/gst/rtp/gstbasertppayload.c @@ -659,9 +659,9 @@ gst_basertppayload_push (GstBaseRTPPayload * payload, GstBuffer * buffer) /* take first timestamp as base, we want to calculate the RTP timestamp * starting from the ts_base */ if (priv->rt_base == -1) { - priv->rt_base = timestamp; + priv->rt_base = rtime; GST_LOG_OBJECT (payload, "first timestamp %" GST_TIME_FORMAT, - GST_TIME_ARGS (timestamp)); + GST_TIME_ARGS (rtime)); } rtime -= priv->rt_base;