mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
validate: fix loading of full path scenario
Summary: We were checking if the path was a full one but was using the scenario_name instead of this path when trying to load the scenario. Depends on D346 Reviewers: thiblahute Reviewed By: thiblahute Differential Revision: https://phabricator.freedesktop.org/D348
This commit is contained in:
parent
c30bf3b809
commit
5067cee05b
1 changed files with 1 additions and 1 deletions
|
@ -2322,7 +2322,7 @@ gst_validate_scenario_load (GstValidateScenario * scenario,
|
|||
if (g_file_test (scenarios[i], G_FILE_TEST_IS_REGULAR)) {
|
||||
GST_DEBUG_OBJECT (scenario, "Scenario: %s is a full path to a scenario "
|
||||
"trying to load it", scenarios[i]);
|
||||
if ((ret = _load_scenario_file (scenario, scenario_name, &is_config)))
|
||||
if ((ret = _load_scenario_file (scenario, scenarios[i], &is_config)))
|
||||
goto check_scenario;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue