mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 10:38:27 +00:00
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.
This commit is contained in:
parent
ab433ee7c9
commit
75aa042450
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue