Commit 75aa0424 authored by Wim Taymans's avatar Wim Taymans

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.
parent ab433ee7
2007-12-03 Wim Taymans <wim.taymans@gmail.com>
* 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 <bilboed@bilboed.com>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment