mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ gst_rtp_sbc_pay_set_caps (GstRTPBasePayload * payload, GstCaps * caps)
|
|||
static GstFlowReturn
|
||||
gst_rtp_sbc_pay_flush_buffers (GstRtpSBCPay * sbcpay)
|
||||
{
|
||||
GstRTPBuffer rtp;
|
||||
GstRTPBuffer rtp = GST_RTP_BUFFER_INIT;
|
||||
guint available;
|
||||
guint max_payload;
|
||||
GstBuffer *outbuf;
|
||||
|
|
Loading…
Reference in a new issue