projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4333774
)
rtpopuspay: use baseclass allocator for buffers
author
Havard Graff
<havard.graff@gmail.com>
Fri, 30 Jun 2017 07:48:58 +0000
(09:48 +0200)
committer
Havard Graff
<havard@pexip.com>
Mon, 2 Dec 2019 12:05:12 +0000
(13:05 +0100)
That way we get some of the meta -> rtp-extension goodies.
gst/rtp/gstrtpopuspay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpopuspay.c
b/gst/rtp/gstrtpopuspay.c
index
ba54134
..
3831a11
100644
(file)
--- a/
gst/rtp/gstrtpopuspay.c
+++ b/
gst/rtp/gstrtpopuspay.c
@@
-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_b
uffer_new_allocate (
0, 0, 0);
+ outbuf = gst_rtp_b
ase_payload_allocate_output_buffer (basepayload,
0, 0, 0);
gst_rtp_copy_audio_meta (basepayload, outbuf, buffer);