gst-libs/gst/rtp/gstbasertppayload.c: Use runnning time as the base time instead...
authorWim Taymans <wim.taymans@gmail.com>
Mon, 3 Dec 2007 13:47:00 +0000 (13:47 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 3 Dec 2007 13:47:00 +0000 (13:47 +0000)
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.

ChangeLog
gst-libs/gst/rtp/gstbasertppayload.c

index 8192cc21fe561cab0b39611c5ec309ce06c1a68c..49676b3d1dc0e5f3caafa4dfe983eaaa5cb3450f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index 944515af96acd8ff448b1bae72cfe76f6fff2720..598b1d7bbb2ae2900674ba2249a1398102be5ce6 100644 (file)
@@ -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;