mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
rtpsbcpay: Update gstreamer plugin to use new sbc API.
This commit is contained in:
parent
b9be04f07b
commit
f74f061f3b
1 changed files with 2 additions and 1 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Reference in a new issue