mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
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:
parent
e3f4d51771
commit
50971aa2c6
1 changed files with 3 additions and 0 deletions
|
@ -3569,6 +3569,9 @@ gst_validate_scenario_load (GstValidateScenario * scenario,
|
|||
goto error;
|
||||
}
|
||||
}
|
||||
|
||||
scenario_file = tldir;
|
||||
|
||||
/* else check scenario */
|
||||
check_scenario:
|
||||
if (!is_config) {
|
||||
|
|
Loading…
Reference in a new issue