mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
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
This commit is contained in:
parent
fea3893686
commit
0bde7bcacb
3 changed files with 11 additions and 3 deletions
|
@ -9,6 +9,7 @@ scenarios_DATA = simple_seeks.scenario \
|
||||||
alternate_fast_backward_forward.scenario \
|
alternate_fast_backward_forward.scenario \
|
||||||
pause_resume.scenario \
|
pause_resume.scenario \
|
||||||
scrub_forward_seeking.scenario \
|
scrub_forward_seeking.scenario \
|
||||||
|
scrub_backward_seeking.scenario \
|
||||||
adaptive_video_size.scenario \
|
adaptive_video_size.scenario \
|
||||||
adaptive_video_framerate.scenario \
|
adaptive_video_framerate.scenario \
|
||||||
adaptive_video_framerate_size.scenario\
|
adaptive_video_framerate_size.scenario\
|
||||||
|
@ -31,6 +32,7 @@ EXTRA_DIST = simple_seeks.scenario \
|
||||||
alternate_fast_backward_forward.scenario \
|
alternate_fast_backward_forward.scenario \
|
||||||
pause_resume.scenario \
|
pause_resume.scenario \
|
||||||
scrub_forward_seeking.scenario \
|
scrub_forward_seeking.scenario \
|
||||||
|
scrub_backward_seeking.scenario \
|
||||||
adaptive_video_size.scenario \
|
adaptive_video_size.scenario \
|
||||||
adaptive_video_framerate.scenario \
|
adaptive_video_framerate.scenario \
|
||||||
adaptive_video_framerate_size.scenario\
|
adaptive_video_framerate_size.scenario\
|
||||||
|
|
7
validate/data/scrub_backward_seeking.scenario
Normal file
7
validate/data/scrub_backward_seeking.scenario
Normal file
|
@ -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
|
||||||
|
|
|
@ -225,9 +225,8 @@ Available options:""")
|
||||||
projects.append(proj)
|
projects.append(proj)
|
||||||
|
|
||||||
SCENARIOS = ["play_15s",
|
SCENARIOS = ["play_15s",
|
||||||
"seek_forward",
|
"scrub_forward_seeking",
|
||||||
"seek_backward",
|
"scrub_backward_seeking"]
|
||||||
"scrub_forward_seeking"]
|
|
||||||
for proj in projects:
|
for proj in projects:
|
||||||
# First playback casses
|
# First playback casses
|
||||||
for scenario_name in SCENARIOS:
|
for scenario_name in SCENARIOS:
|
||||||
|
|
Loading…
Reference in a new issue