From 0bde7bcacb646e35f13a732b1ae85af97538c9c2 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 19 May 2014 19:42:46 +0200 Subject: [PATCH] validate: Add a scrub_backward_seeking scenario + Make use of it in ges-launch and do not try to seek while playing in GES as it is not supported yet --- validate/data/Makefile.am | 2 ++ validate/data/scrub_backward_seeking.scenario | 7 +++++++ validate/tools/launcher/apps/ges-launch.py | 5 ++--- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 validate/data/scrub_backward_seeking.scenario diff --git a/validate/data/Makefile.am b/validate/data/Makefile.am index 9360957e20..d34420ad1a 100644 --- a/validate/data/Makefile.am +++ b/validate/data/Makefile.am @@ -9,6 +9,7 @@ scenarios_DATA = simple_seeks.scenario \ alternate_fast_backward_forward.scenario \ pause_resume.scenario \ scrub_forward_seeking.scenario \ + scrub_backward_seeking.scenario \ adaptive_video_size.scenario \ adaptive_video_framerate.scenario \ adaptive_video_framerate_size.scenario\ @@ -31,6 +32,7 @@ EXTRA_DIST = simple_seeks.scenario \ alternate_fast_backward_forward.scenario \ pause_resume.scenario \ scrub_forward_seeking.scenario \ + scrub_backward_seeking.scenario \ adaptive_video_size.scenario \ adaptive_video_framerate.scenario \ adaptive_video_framerate_size.scenario\ diff --git a/validate/data/scrub_backward_seeking.scenario b/validate/data/scrub_backward_seeking.scenario new file mode 100644 index 0000000000..b757c7990c --- /dev/null +++ b/validate/data/scrub_backward_seeking.scenario @@ -0,0 +1,7 @@ +description, seek=true +pause, playback_time=0.0 +seek, playback_time=0.0, start="duration - 0.5", flags=accurate+flush +seek, playback_time=0.0, start=position-0.1, repeat="min(10, (duration - 0.6))/0.1", flags=accurate+flush +play, playback_time=0.0 +stop, playback_time=1.0 + diff --git a/validate/tools/launcher/apps/ges-launch.py b/validate/tools/launcher/apps/ges-launch.py index 5fa29e1d29..e2aa467ebd 100644 --- a/validate/tools/launcher/apps/ges-launch.py +++ b/validate/tools/launcher/apps/ges-launch.py @@ -225,9 +225,8 @@ Available options:""") projects.append(proj) SCENARIOS = ["play_15s", - "seek_forward", - "seek_backward", - "scrub_forward_seeking"] + "scrub_forward_seeking", + "scrub_backward_seeking"] for proj in projects: # First playback casses for scenario_name in SCENARIOS: