va: Use a lock to protect the surface copy by using vpp.
authorHe Junyan <junyan.he@intel.com>
Tue, 23 Nov 2021 08:35:16 +0000 (16:35 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 29 Nov 2021 19:25:31 +0000 (19:25 +0000)
commitb5c07e11cad09731db2adef438603599f224e721
tree04bd99e14bc57a69ee4bc47d4ec71c71797fbc54
parent954f7cf88c5367e1e992a320cbb8ce0001c1951b
va: Use a lock to protect the surface copy by using vpp.

 If we use vpp to do the surface copy, its operation is not atomic.
 We need to maintain the filter's context unchanged during the whole
 copy progress.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1373>
subprojects/gst-plugins-bad/sys/va/gstvasurfacecopy.c