Commit 5340de5c authored by Camilo Celis Guzman's avatar Camilo Celis Guzman
Browse files

rtp/vrawpay: use alloc_output_buffer from base class

Part-of: <gstreamer/gst-plugins-good!726>
parent cfae2a37
Pipeline #201334 passed with stages
in 35 minutes and 45 seconds
......@@ -353,7 +353,7 @@ gst_rtp_vraw_pay_handle_buffer (GstRTPBasePayload * payload, GstBuffer * buffer)
/* get the max allowed payload length size, we try to fill the complete MTU */
left = gst_rtp_buffer_calc_payload_len (mtu, 0, 0);
out = gst_rtp_buffer_new_allocate (left, 0, 0);
out = gst_rtp_base_payload_allocate_output_buffer (payload, left, 0, 0);
if (discont) {
GST_BUFFER_FLAG_SET (out, GST_BUFFER_FLAG_DISCONT);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment