va: filter: lock member variables access
While gst_va_filter_open()
and gst_va_filter_close()
remain non-thread-safe, the other API calls that modify member variables are locked.
This patch was already reviewed by @He_Junyan in !1999 (merged) Since it's a complex patch I think it is better to handle it in its own merge request.