mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
validate: Ensure Scenario isn't NULL when preparing action
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/192>
This commit is contained in:
parent
7ee3421cad
commit
f6e45c8c90
1 changed files with 2 additions and 0 deletions
|
@ -3235,6 +3235,8 @@ gst_validate_action_default_prepare_func (GstValidateAction * action)
|
|||
GstValidateActionType *type = gst_validate_get_action_type (action->type);
|
||||
GstValidateScenario *scenario = gst_validate_action_get_scenario (action);
|
||||
|
||||
g_assert (scenario);
|
||||
|
||||
_update_well_known_vars (scenario);
|
||||
gst_validate_structure_resolve_variables (action, action->structure,
|
||||
scenario->priv->vars);
|
||||
|
|
Loading…
Reference in a new issue