vaapivideomemory: fix association of surface to proxy.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 23 Jul 2014 16:01:21 +0000 (18:01 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 23 Jul 2014 16:01:21 +0000 (18:01 +0200)
commitb07de8a7f986275599db4a0177d659a3e882bcff
tree547bba841f8fe3dffb74606fe9cd48e41d5d087d
parentdac20cecb4e2c2ebccaf5c75e48999bb8ccbb53e
vaapivideomemory: fix association of surface to proxy.

Make sure to always update the VA surface pointer whenever the proxy
changes. This used to only work when the VA surface is written to, in
interop with SW element ("upload" feature), and this now fixes cases
when the VA surface is needed for reading, in interop with SW element
("download" feature).
gst/vaapi/gstvaapivideomemory.c