rtp: fix SBC payloader
Init RTP buffer on stack correctly, so mapping it works without criticals and the payloader actually works.
This commit is contained in:
parent
78acb51dc8
commit
477cc51fe7
@ -157,7 +157,7 @@ gst_rtp_sbc_pay_set_caps (GstRTPBasePayload * payload, GstCaps * caps)
|
|||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
gst_rtp_sbc_pay_flush_buffers (GstRtpSBCPay * sbcpay)
|
gst_rtp_sbc_pay_flush_buffers (GstRtpSBCPay * sbcpay)
|
||||||
{
|
{
|
||||||
GstRTPBuffer rtp;
|
GstRTPBuffer rtp = GST_RTP_BUFFER_INIT;
|
||||||
guint available;
|
guint available;
|
||||||
guint max_payload;
|
guint max_payload;
|
||||||
GstBuffer *outbuf;
|
GstBuffer *outbuf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user