From 2bd9964f1239a25c4a7d6c7854ac06ed91905bf7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 2 Mar 2007 12:52:56 +0000 Subject: [PATCH] gst/rtp/gstrtpmp2tdepay.c: Fix compilation. Original commit message from CVS: * gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_process): Fix compilation. --- ChangeLog | 5 +++++ gst/rtp/gstrtpmp2tdepay.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f01a82bf7f..373b0d37e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-03-02 Wim Taymans + + * gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_process): + Fix compilation. + 2007-03-02 Wim Taymans Patch by: Thijs Vermeir diff --git a/gst/rtp/gstrtpmp2tdepay.c b/gst/rtp/gstrtpmp2tdepay.c index b0a82d410d..9c41b3ac76 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) =