rtph265depay: fix unneeded sub-buffer creation
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Fri, 15 Jan 2016 16:10:02 +0000 (16:10 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 16 Feb 2016 00:24:41 +0000 (00:24 +0000)
commit983e30f65880876d1fd8ae1f38cc1d28d9feb003
tree1e7ae95cea27e0d4ab0895d9002a2aea454912f8
parent4ee6c17edbac9d65cdba600b172a593b4b40849d
rtph265depay: fix unneeded sub-buffer creation

We create a sub-buffer just to copy over its metas and then throw it
away immediately, just use the original input buffer directly.
gst/rtp/gstrtph265depay.c