rtpopusdepay: minor perf improvements
authorTim-Philipp Müller <tim@centricular.com>
Wed, 24 May 2017 15:32:30 +0000 (16:32 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 24 May 2017 15:41:45 +0000 (16:41 +0100)
commita9f916600474844c2481aebfd6122a3e33422955
tree9885696819d4b5388d985059fcdb8712281bf20f
parentf9a740b319a851b6f5f170bff78538d874a97cb2
rtpopusdepay: minor perf improvements

Use the ::process_rtp_packet() vfunc to avoid mapping the
RTP buffer twice.

gst_rtp_buffer_get_payload_buffer() returns a new sub-buffer
which will always be writable, so no need to make it writable.
gst/rtp/gstrtpopusdepay.c