gstreamer/tests/examples/seek/meson.build
Jan Schmidt 9f55f8c28e tests/examples/seek/instant-rate-change: Add example app
Add an example app to exercise instant rate changes in a few
scenarios. Currently it deadlocks a lot sending rate changes to
paused pipelines.
2020-04-01 21:01:38 +00:00

39 lines
1.3 KiB
Meson

if gtk_x11_dep.found()
if cc.compiles('''
#include <linux/input.h>
#include <linux/joystick.h>
void foo (void) {
struct js_event js;
js.type = JS_EVENT_AXIS;
}''', name : 'Linux joystick headers needed by jseek example')
executable('jsseek', 'jsseek.c',
c_args : gst_plugins_base_args,
include_directories: [configinc, libsinc],
dependencies : [glib_deps, gst_dep, video_dep, libm, gtk_dep],
install: false)
endif
executable('scrubby', 'scrubby.c',
c_args : gst_plugins_base_args,
include_directories: [configinc, libsinc],
dependencies : [glib_deps, gst_dep, video_dep, libm, gtk_dep],
install: false)
endif
executable('stepping', 'stepping.c',
c_args : gst_plugins_base_args,
include_directories: [configinc, libsinc],
dependencies : [libm, glib_deps, gst_dep, video_dep],
install: false)
executable('stepping2', 'stepping2.c',
c_args : gst_plugins_base_args,
include_directories: [configinc, libsinc],
dependencies : [libm, glib_deps, gst_dep, video_dep],
install: false)
executable('instant-rate-change', 'instant-rate-change.c',
c_args : gst_plugins_base_args,
include_directories: [configinc, libsinc],
dependencies : [libm, glib_deps, gst_dep, video_dep],
install: false)