summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpmp2tdepay.c
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 /gst/rtp/gstrtpmp2tdepay.c
parentfe901ccec7afe6870c3973f0fcad82439699260b (diff)
gst/rtp/gstrtpmp2tdepay.c: Fix compilation.
Original commit message from CVS: * gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_process): Fix compilation.
Diffstat (limited to 'gst/rtp/gstrtpmp2tdepay.c')
-rw-r--r--gst/rtp/gstrtpmp2tdepay.c3
1 files changed, 2 insertions, 1 deletions
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) =