mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
scenario: Try to run scenarios in development first
This commit is contained in:
parent
4dfecb6ee1
commit
5cea134655
1 changed files with 6 additions and 2 deletions
|
@ -641,6 +641,12 @@ gst_validate_scenario_load (GstValidateScenario * scenario,
|
|||
lfilename =
|
||||
g_strdup_printf ("%s" GST_VALIDATE_SCENARIO_SUFFIX, scenario_name);
|
||||
|
||||
tldir = g_build_filename ("data/", lfilename, NULL);
|
||||
|
||||
if ((ret = _load_scenario_file (scenario, tldir)))
|
||||
goto done;
|
||||
g_free (tldir);
|
||||
|
||||
/* Try from local profiles */
|
||||
tldir =
|
||||
g_build_filename (g_get_user_data_dir (), "gstreamer-" GST_API_VERSION,
|
||||
|
@ -658,8 +664,6 @@ gst_validate_scenario_load (GstValidateScenario * scenario,
|
|||
if (ret == FALSE) {
|
||||
g_free (tldir);
|
||||
|
||||
tldir = g_build_filename ("data/", lfilename, NULL);
|
||||
ret = _load_scenario_file (scenario, tldir);
|
||||
}
|
||||
|
||||
done:
|
||||
|
|
Loading…
Reference in a new issue