wpe: Properly lock property fields
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>
Thu, 6 May 2021 17:17:29 +0000 (19:17 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 7 May 2021 16:01:49 +0000 (16:01 +0000)
commit950d5eedf940776e7dfe27a0e7fd34ce4fa163a8
tree7879b2047c99232a2a68585e37e6af2137cb20ee
parent3d0255900284a77b9bf686240e696631d24a8e77
wpe: Properly lock property fields

Use the object lock for the following fields:
 - `bytes`: Written by the `load-bytes` signal unless running; consumed
   on start.
 - `draw_background`: Read and written by the `draw-background`
   property.
 - `location`: Read and written by the `location` property and the URI
   handler.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2222>
ext/wpe/gstwpesrc.cpp