AC_SUBST(GST_VALIDATE_LIBS)
AM_CONDITIONAL(HAVE_GST_VALIDATE, [test "x$HAVE_GST_VALIDATE" = "xyes"])
+dnl needed for scenarios definition files
+GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`"
+AC_SUBST(GST_PREFIX)
+GST_DATADIR="$GST_PREFIX/share"
+AC_DEFINE_UNQUOTED(GST_DATADIR, "$GST_DATADIR", [system wide data directory])
dnl *** checks for libraries ***
tests/check/Makefile
tests/benchmarks/Makefile
tests/examples/Makefile
+tests/scenarios/Makefile
tools/Makefile
docs/Makefile
docs/version.entities
BENCHMARKS_SUBDIR=
endif
-SUBDIRS= $(CHECK_SUBDIRS) $(EXAMPLES_SUBDIRS) $(BENCHMARKS_SUBDIR)
+if HAVE_GST_VALIDATE
+SCENARIOS_SUBDIRS= scenarios
+else
+SCENARIOS_SUBDIRS=
+endif
+
+SUBDIRS= $(CHECK_SUBDIRS) $(EXAMPLES_SUBDIRS) $(BENCHMARKS_SUBDIR) $(SCENARIOS_SUBDIRS)
-DIST_SUBDIRS = check examples benchmarks
+DIST_SUBDIRS = check examples benchmarks scenarios
--- /dev/null
+scenariosdir=${datadir}/gstreamer-$(GST_API_VERSION)/validate-scenario
+
+scenarios_DATA = ges-edit-clip-while-paused.scenario
+
+EXTRA_DIST = ges-edit-clip-while-paused.scenario
--- /dev/null
+description, duration=4.0
+pause, playback_time=0.0
+wait, duration=1.0
+edit-clip, playback_time=0.0, clip-name="uriclip0", position=3.0, edit-mode="edit_trim", edge="edge_end"
+play, playback_time=0.0