mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
move scenarios to data/scenarios
Differential Revision: http://phabricator.freedesktop.org/D115
This commit is contained in:
parent
8c2684c9a7
commit
8c4a3de701
33 changed files with 56 additions and 54 deletions
|
@ -289,6 +289,7 @@ Makefile
|
||||||
common/Makefile
|
common/Makefile
|
||||||
common/m4/Makefile
|
common/m4/Makefile
|
||||||
data/Makefile
|
data/Makefile
|
||||||
|
data/scenarios/Makefile
|
||||||
gst/Makefile
|
gst/Makefile
|
||||||
gst/validate/Makefile
|
gst/validate/Makefile
|
||||||
gst/preload/Makefile
|
gst/preload/Makefile
|
||||||
|
|
|
@ -1,52 +1 @@
|
||||||
scenariosdir=${datadir}/gstreamer-$(GST_API_VERSION)/validate/scenarios
|
SUBDIRS = scenarios
|
||||||
scenarios_DATA = simple_seeks.scenario \
|
|
||||||
seek_forward.scenario \
|
|
||||||
seek_backward.scenario \
|
|
||||||
seek_forward_backward.scenario \
|
|
||||||
reverse_playback.scenario \
|
|
||||||
fast_forward.scenario \
|
|
||||||
fast_backward.scenario \
|
|
||||||
alternate_fast_backward_forward.scenario \
|
|
||||||
pause_resume.scenario \
|
|
||||||
scrub_forward_seeking.scenario \
|
|
||||||
scrub_backward_seeking.scenario \
|
|
||||||
scrub_forward_seeking_full.scenario \
|
|
||||||
scrub_backward_seeking_full.scenario \
|
|
||||||
adaptive_video_size.scenario \
|
|
||||||
adaptive_video_framerate.scenario \
|
|
||||||
adaptive_video_framerate_size.scenario\
|
|
||||||
force_key_unit.scenario\
|
|
||||||
seek_with_stop.scenario\
|
|
||||||
switch_audio_track_while_paused.scenario\
|
|
||||||
switch_subtitle_track.scenario\
|
|
||||||
switch_subtitle_track_while_paused.scenario\
|
|
||||||
disable_subtitle_track_while_paused.scenario\
|
|
||||||
change_state_intensive.scenario\
|
|
||||||
play_15s.scenario \
|
|
||||||
switch_audio_track.scenario
|
|
||||||
|
|
||||||
EXTRA_DIST = simple_seeks.scenario \
|
|
||||||
seek_forward.scenario \
|
|
||||||
seek_backward.scenario \
|
|
||||||
seek_forward_backward.scenario \
|
|
||||||
reverse_playback.scenario \
|
|
||||||
fast_forward.scenario \
|
|
||||||
fast_backward.scenario \
|
|
||||||
alternate_fast_backward_forward.scenario \
|
|
||||||
pause_resume.scenario \
|
|
||||||
scrub_forward_seeking.scenario \
|
|
||||||
scrub_backward_seeking.scenario \
|
|
||||||
scrub_forward_seeking_full.scenario \
|
|
||||||
scrub_backward_seeking_full.scenario \
|
|
||||||
adaptive_video_size.scenario \
|
|
||||||
adaptive_video_framerate.scenario \
|
|
||||||
adaptive_video_framerate_size.scenario\
|
|
||||||
force_key_unit.scenario\
|
|
||||||
seek_with_stop.scenario\
|
|
||||||
switch_audio_track_while_paused.scenario\
|
|
||||||
switch_subtitle_track.scenario\
|
|
||||||
switch_subtitle_track_while_paused.scenario\
|
|
||||||
disable_subtitle_track_while_paused.scenario\
|
|
||||||
play_15s.scenario \
|
|
||||||
change_state_intensive.scenario\
|
|
||||||
switch_audio_track.scenario
|
|
||||||
|
|
52
validate/data/scenarios/Makefile.am
Normal file
52
validate/data/scenarios/Makefile.am
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
scenariosdir=${datadir}/gstreamer-$(GST_API_VERSION)/validate/scenarios
|
||||||
|
scenarios_DATA = simple_seeks.scenario \
|
||||||
|
seek_forward.scenario \
|
||||||
|
seek_backward.scenario \
|
||||||
|
seek_forward_backward.scenario \
|
||||||
|
reverse_playback.scenario \
|
||||||
|
fast_forward.scenario \
|
||||||
|
fast_backward.scenario \
|
||||||
|
alternate_fast_backward_forward.scenario \
|
||||||
|
pause_resume.scenario \
|
||||||
|
scrub_forward_seeking.scenario \
|
||||||
|
scrub_backward_seeking.scenario \
|
||||||
|
scrub_forward_seeking_full.scenario \
|
||||||
|
scrub_backward_seeking_full.scenario \
|
||||||
|
adaptive_video_size.scenario \
|
||||||
|
adaptive_video_framerate.scenario \
|
||||||
|
adaptive_video_framerate_size.scenario\
|
||||||
|
force_key_unit.scenario\
|
||||||
|
seek_with_stop.scenario\
|
||||||
|
switch_audio_track_while_paused.scenario\
|
||||||
|
switch_subtitle_track.scenario\
|
||||||
|
switch_subtitle_track_while_paused.scenario\
|
||||||
|
disable_subtitle_track_while_paused.scenario\
|
||||||
|
change_state_intensive.scenario\
|
||||||
|
play_15s.scenario \
|
||||||
|
switch_audio_track.scenario
|
||||||
|
|
||||||
|
EXTRA_DIST = simple_seeks.scenario \
|
||||||
|
seek_forward.scenario \
|
||||||
|
seek_backward.scenario \
|
||||||
|
seek_forward_backward.scenario \
|
||||||
|
reverse_playback.scenario \
|
||||||
|
fast_forward.scenario \
|
||||||
|
fast_backward.scenario \
|
||||||
|
alternate_fast_backward_forward.scenario \
|
||||||
|
pause_resume.scenario \
|
||||||
|
scrub_forward_seeking.scenario \
|
||||||
|
scrub_backward_seeking.scenario \
|
||||||
|
scrub_forward_seeking_full.scenario \
|
||||||
|
scrub_backward_seeking_full.scenario \
|
||||||
|
adaptive_video_size.scenario \
|
||||||
|
adaptive_video_framerate.scenario \
|
||||||
|
adaptive_video_framerate_size.scenario\
|
||||||
|
force_key_unit.scenario\
|
||||||
|
seek_with_stop.scenario\
|
||||||
|
switch_audio_track_while_paused.scenario\
|
||||||
|
switch_subtitle_track.scenario\
|
||||||
|
switch_subtitle_track_while_paused.scenario\
|
||||||
|
disable_subtitle_track_while_paused.scenario\
|
||||||
|
play_15s.scenario \
|
||||||
|
change_state_intensive.scenario\
|
||||||
|
switch_audio_track.scenario
|
|
@ -2091,7 +2091,7 @@ gst_validate_scenario_load (GstValidateScenario * scenario,
|
||||||
lfilename =
|
lfilename =
|
||||||
g_strdup_printf ("%s" GST_VALIDATE_SCENARIO_SUFFIX, scenarios[i]);
|
g_strdup_printf ("%s" GST_VALIDATE_SCENARIO_SUFFIX, scenarios[i]);
|
||||||
|
|
||||||
tldir = g_build_filename ("data/", lfilename, NULL);
|
tldir = g_build_filename ("data", "scenarios", lfilename, NULL);
|
||||||
|
|
||||||
if ((ret = _load_scenario_file (scenario, tldir, &is_config)))
|
if ((ret = _load_scenario_file (scenario, tldir, &is_config)))
|
||||||
goto check_scenario;
|
goto check_scenario;
|
||||||
|
@ -2566,7 +2566,7 @@ gst_validate_list_scenarios (gchar ** scenarios, gint num_scenarios,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hack to make it work uninstalled */
|
/* Hack to make it work uninstalled */
|
||||||
dir = g_file_new_for_path ("data/");
|
dir = g_file_new_for_path ("data/scenarios");
|
||||||
_list_scenarios_in_dir (dir, kf);
|
_list_scenarios_in_dir (dir, kf);
|
||||||
g_object_unref (dir);
|
g_object_unref (dir);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue