mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
This is for testing race condition with multi-thread wayland client environment. The race condition will be resolved with wayland proxy wrapper API when handling event queue.
22 lines
765 B
Meson
22 lines
765 B
Meson
gtk_dep = dependency('gtk+-3.0', required : get_option('examples'))
|
|
gtk_wayland_dep = dependency('gtk+-wayland-3.0', required : get_option('examples'))
|
|
|
|
if use_wayland
|
|
if gtk_dep.found() and gtk_wayland_dep.found()
|
|
executable('waylandsink',
|
|
'main.c',
|
|
extra_files: ['window.ui'],
|
|
install: false,
|
|
include_directories : [configinc],
|
|
dependencies : [gtk_dep, gtk_wayland_dep, gst_dep, gstwayland_dep],
|
|
c_args : ['-DHAVE_CONFIG_H=1', '-DGST_USE_UNSTABLE_API=1'],
|
|
)
|
|
endif
|
|
executable('wayland_threads',
|
|
'wayland-threads.c',
|
|
install: false,
|
|
include_directories : [configinc],
|
|
dependencies : [gst_dep, gstwayland_dep, wl_client_dep],
|
|
c_args : ['-DHAVE_CONFIG_H=1', '-DGST_USE_UNSTABLE_API=1'],
|
|
)
|
|
endif
|