rtp: rtpbasedepayload: add process_rtp_packet() vfunc
authorTim-Philipp Müller <tim@centricular.com>
Wed, 27 May 2015 17:55:20 +0000 (18:55 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 12 Jul 2015 13:29:29 +0000 (14:29 +0100)
commitbc14cdf529e21356ea7b2c8f34614958a91f7260
tree3f538b36f15bf1094eeddb7d2d03e6ee2f08c734
parentf99a24f8b3ab1d0fa0cc56432b766a5c1ae85fb4
rtp: rtpbasedepayload: add process_rtp_packet() vfunc

Add process_rtp_packet() vfunc that works just like the
existing process() vfunc only that it takes the GstRTPBuffer
that the base class has already mapped (with MAP_READ),
which means that the subclass doesn't have to map it again,
which allows more performant processing of input buffers
for most RTP depayloaders.

https://bugzilla.gnome.org/show_bug.cgi?id=750235
gst-libs/gst/rtp/gstrtpbasedepayload.c
gst-libs/gst/rtp/gstrtpbasedepayload.h