waylandsink: protect access to the display with a new display_lock
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Fri, 6 Jun 2014 10:04:44 +0000 (12:04 +0200)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Tue, 17 Jun 2014 11:51:28 +0000 (13:51 +0200)
commitd4d46fa43a88e8812d2d26b00dc43b10d623a257
tree52fddcfb7e728ed9f415f2a7299dcca1372ac3aa
parentc323171dc105210f6a4d986b0a4648bbe231df3a
waylandsink: protect access to the display with a new display_lock

Access is protected only for setting/creating/destroying the display
handle. set_caps() for example is not protected because it cannot be
called before changing state to READY, at which point there will be
a display handle available and which cannot change by any thread at
that point
ext/wayland/gstwaylandsink.c
ext/wayland/gstwaylandsink.h