mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
scenario: Add a scenario that edits a clip while the pipeline is paused
https://bugzilla.gnome.org/show_bug.cgi?id=729382
This commit is contained in:
parent
87e10c4478
commit
0b0bbdddd0
4 changed files with 24 additions and 2 deletions
|
@ -159,6 +159,11 @@ AC_SUBST(GST_VALIDATE_CFLAGS)
|
||||||
AC_SUBST(GST_VALIDATE_LIBS)
|
AC_SUBST(GST_VALIDATE_LIBS)
|
||||||
AM_CONDITIONAL(HAVE_GST_VALIDATE, [test "x$HAVE_GST_VALIDATE" = "xyes"])
|
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 ***
|
dnl *** checks for libraries ***
|
||||||
|
@ -381,6 +386,7 @@ tests/Makefile
|
||||||
tests/check/Makefile
|
tests/check/Makefile
|
||||||
tests/benchmarks/Makefile
|
tests/benchmarks/Makefile
|
||||||
tests/examples/Makefile
|
tests/examples/Makefile
|
||||||
|
tests/scenarios/Makefile
|
||||||
tools/Makefile
|
tools/Makefile
|
||||||
docs/Makefile
|
docs/Makefile
|
||||||
docs/version.entities
|
docs/version.entities
|
||||||
|
|
|
@ -16,7 +16,13 @@ else
|
||||||
BENCHMARKS_SUBDIR=
|
BENCHMARKS_SUBDIR=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SUBDIRS= $(CHECK_SUBDIRS) $(EXAMPLES_SUBDIRS) $(BENCHMARKS_SUBDIR)
|
if HAVE_GST_VALIDATE
|
||||||
|
SCENARIOS_SUBDIRS= scenarios
|
||||||
|
else
|
||||||
|
SCENARIOS_SUBDIRS=
|
||||||
|
endif
|
||||||
|
|
||||||
DIST_SUBDIRS = check examples benchmarks
|
SUBDIRS= $(CHECK_SUBDIRS) $(EXAMPLES_SUBDIRS) $(BENCHMARKS_SUBDIR) $(SCENARIOS_SUBDIRS)
|
||||||
|
|
||||||
|
DIST_SUBDIRS = check examples benchmarks scenarios
|
||||||
|
|
||||||
|
|
5
tests/scenarios/Makefile.am
Normal file
5
tests/scenarios/Makefile.am
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
scenariosdir=${datadir}/gstreamer-$(GST_API_VERSION)/validate-scenario
|
||||||
|
|
||||||
|
scenarios_DATA = ges-edit-clip-while-paused.scenario
|
||||||
|
|
||||||
|
EXTRA_DIST = ges-edit-clip-while-paused.scenario
|
5
tests/scenarios/ges-edit-clip-while-paused.scenario
Normal file
5
tests/scenarios/ges-edit-clip-while-paused.scenario
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
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
|
Loading…
Reference in a new issue