From: Luiz Augusto von Dentz Date: Tue, 19 Feb 2008 19:49:24 +0000 (+0000) Subject: rtpsbcpay: Update gstreamer plugin to use new sbc API. X-Git-Tag: 1.19.3~509^2~6133 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f74f061f3bd99704d5c1dbe5e27c7e6ad19dbe35;p=platform%2Fupstream%2Fgstreamer.git rtpsbcpay: Update gstreamer plugin to use new sbc API. --- diff --git a/gst/rtp/gstrtpsbcpay.c b/gst/rtp/gstrtpsbcpay.c index eb04b35..21dcaab 100644 --- a/gst/rtp/gstrtpsbcpay.c +++ b/gst/rtp/gstrtpsbcpay.c @@ -217,9 +217,10 @@ gst_rtp_sbc_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buffer) /* FIXME check for negotiation */ sbcpay = GST_RTP_SBC_PAY (payload); + sbcpay->timestamp = GST_BUFFER_TIMESTAMP (buffer); + gst_adapter_push (sbcpay->adapter, gst_buffer_copy (buffer)); - sbcpay->timestamp = GST_BUFFER_TIMESTAMP (buffer); available = gst_adapter_available (sbcpay->adapter); if (available + RTP_SBC_HEADER_TOTAL >= GST_BASE_RTP_PAYLOAD_MTU (sbcpay) ||