plugins: fix creation of video buffer from another source buffer.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 20 Mar 2013 13:02:48 +0000 (14:02 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 20 Mar 2013 17:35:01 +0000 (18:35 +0100)
commit4fa2315557e26db436a8935ba74e06393e5756ef
tree6c1cbd09c04bc362d3fdafce762b58f0cc933055
parent7bb5750266e20cc1c7cb3c2367385d3848be0aa4
plugins: fix creation of video buffer from another source buffer.

gst_vaapi_video_buffer_new_from_buffer() needs to reference the source
buffer video meta since it would be unreference'd from the get_buffer()
helper function. For other cases, we still use (steal) the newly created
video meta.
gst/vaapi/gstvaapipluginbuffer.c