vp8depay: Don't lock/map every non-keyframe buffer twice
authorSebastian Dröge <sebastian@centricular.com>
Tue, 30 Jun 2015 12:06:20 +0000 (14:06 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 30 Jun 2015 12:07:28 +0000 (14:07 +0200)
commitceaf90f0276ef1b264a9a88bb24db145fe8e2ae1
tree425a36784fde0d53711c56b33ddb89254219c3f4
parent600942788dcfa80d0e44b6dc0b3d72cec2b86a66
vp8depay: Don't lock/map every non-keyframe buffer twice

Just copy the complete header instead of first looking at the first byte
and then at the remaining 10 bytes.
gst/rtp/gstrtpvp8depay.c