rtph264depay: fix unnecessary sub-buffer creation
authorTim-Philipp Müller <tim@centricular.com>
Thu, 7 Jan 2016 20:42:41 +0000 (20:42 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 8 Jan 2016 16:40:32 +0000 (16:40 +0000)
commit3aa0dd86298d486753fd476ef384461832fc5dd2
tree2c2ac9b7fe70bc92b870a163223aaaef1f156bdf
parent6171b0a67503cb993e976dc9656dc3181197a6ea
rtph264depay: fix unnecessary 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/gstrtph264depay.c