validate-scanario: Fix crash when using installed validate

When installed, the lookup path will endup on the very last try, but the
scenario_file was left unset, which lead to a crash.
This commit is contained in:
Nicolas Dufresne 2019-09-27 16:52:51 -04:00
parent e3f4d51771
commit 50971aa2c6

View file

@ -3569,6 +3569,9 @@ gst_validate_scenario_load (GstValidateScenario * scenario,
goto error; goto error;
} }
} }
scenario_file = tldir;
/* else check scenario */ /* else check scenario */
check_scenario: check_scenario:
if (!is_config) { if (!is_config) {