mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
rtpopuspay: use baseclass allocator for buffers
That way we get some of the meta -> rtp-extension goodies.
This commit is contained in:
parent
4333774c2c
commit
690c15bd78
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ gst_rtp_opus_pay_handle_buffer (GstRTPBasePayload * basepayload,
|
|||
dts = GST_BUFFER_DTS (buffer);
|
||||
duration = GST_BUFFER_DURATION (buffer);
|
||||
|
||||
outbuf = gst_rtp_buffer_new_allocate (0, 0, 0);
|
||||
outbuf = gst_rtp_base_payload_allocate_output_buffer (basepayload, 0, 0, 0);
|
||||
|
||||
gst_rtp_copy_audio_meta (basepayload, outbuf, buffer);
|
||||
|
||||
|
|
Loading…
Reference in a new issue