summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-03-02 12:52:56 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-03-02 12:52:56 +0000
commit2bd9964f1239a25c4a7d6c7854ac06ed91905bf7 (patch)
treeba60467229b14b263d4a595ab11d68f80202c3ea
parentfe901ccec7afe6870c3973f0fcad82439699260b (diff)
gst/rtp/gstrtpmp2tdepay.c: Fix compilation.
Original commit message from CVS: * gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_process): Fix compilation.
-rw-r--r--ChangeLog5
-rw-r--r--gst/rtp/gstrtpmp2tdepay.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f01a82bf..373b0d37 100644
--- 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),
diff --git a/gst/rtp/gstrtpmp2tdepay.c b/gst/rtp/gstrtpmp2tdepay.c
index b0a82d41..9c41b3ac 100644
--- a/gst/rtp/gstrtpmp2tdepay.c
+++ b/gst/rtp/gstrtpmp2tdepay.c
@@ -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) =