gst/rtp/gstrtpmp2tdepay.c: Fix compilation.
authorWim Taymans <wim.taymans@gmail.com>
Fri, 2 Mar 2007 12:52:56 +0000 (12:52 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 2 Mar 2007 12:52:56 +0000 (12:52 +0000)
Original commit message from CVS:
* gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_process):
Fix compilation.

ChangeLog
gst/rtp/gstrtpmp2tdepay.c

index f01a82b..373b0d3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2007-03-02  Wim Taymans  <wim@fluendo.com>
 
+       * gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_process):
+       Fix compilation.
+
+2007-03-02  Wim Taymans  <wim@fluendo.com>
+
        Patch by: Thijs Vermeir <thijsvermeir at gmail dot com>
 
        * gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_class_init),
index b0a82d4..9c41b3a 100644 (file)
@@ -188,7 +188,8 @@ gst_rtp_mp2t_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
   timestamp = gst_rtp_buffer_get_timestamp (buf);
 
   outbuf =
-      gst_rtp_buffer_get_payload_subbuffer (rtpmp2tdepay->skip_first_bytes, -1);
+      gst_rtp_buffer_get_payload_subbuffer (buf, rtpmp2tdepay->skip_first_bytes,
+      -1);
 
   gst_buffer_set_caps (outbuf, GST_PAD_CAPS (depayload->srcpad));
   GST_BUFFER_TIMESTAMP (outbuf) =