surfaceproxy: fix copy to propagate view_id.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 22 Aug 2014 13:12:46 +0000 (15:12 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 22 Aug 2014 13:54:31 +0000 (15:54 +0200)
commit97d7f21575531a840c254e7179b1c6f6a3cfb49c
tree041e47d664146295ddb77bb717fbaf78f9092350
parentdfa70b9e8504049ffc3374f0342d01ca2770a203
surfaceproxy: fix copy to propagate view_id.

Fix gst_vaapi_surface_proxy_copy() to copy the view-id element, thus
fixing random frames skipped when vaapipostproc element is used in
passthrough mode. In that mode, GstMemory is copied, thus including
the underlying GstVaapiVideoMeta and associated GstVaapiSurfaceProxy.
gst-libs/gst/vaapi/gstvaapisurfaceproxy.c