mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 13:08:49 +00:00
parent
2fb3545aa7
commit
6ad8bd3e7c
1 changed files with 3 additions and 3 deletions
|
@ -1716,7 +1716,7 @@ _fill_action (GstValidateScenario * scenario, GstValidateAction * action,
|
||||||
(str_playback_time =
|
(str_playback_time =
|
||||||
gst_structure_get_string (structure, "playback_time"))) {
|
gst_structure_get_string (structure, "playback_time"))) {
|
||||||
|
|
||||||
if (add_to_lists)
|
if (add_to_lists && priv)
|
||||||
priv->needs_parsing = g_list_append (priv->needs_parsing, action);
|
priv->needs_parsing = g_list_append (priv->needs_parsing, action);
|
||||||
else if (!_set_action_playback_time (scenario, action))
|
else if (!_set_action_playback_time (scenario, action))
|
||||||
return GST_VALIDATE_EXECUTE_ACTION_ERROR;
|
return GST_VALIDATE_EXECUTE_ACTION_ERROR;
|
||||||
|
@ -1767,7 +1767,7 @@ _fill_action (GstValidateScenario * scenario, GstValidateAction * action,
|
||||||
type->flags & GST_VALIDATE_ACTION_TYPE_CAN_EXECUTE_ON_ADDITION
|
type->flags & GST_VALIDATE_ACTION_TYPE_CAN_EXECUTE_ON_ADDITION
|
||||||
&& !GST_CLOCK_TIME_IS_VALID (action->playback_time);
|
&& !GST_CLOCK_TIME_IS_VALID (action->playback_time);
|
||||||
|
|
||||||
if (priv->needs_parsing)
|
if (priv && priv->needs_parsing)
|
||||||
can_execute_on_addition = FALSE;
|
can_execute_on_addition = FALSE;
|
||||||
|
|
||||||
if (can_execute_on_addition) {
|
if (can_execute_on_addition) {
|
||||||
|
@ -1789,7 +1789,7 @@ _fill_action (GstValidateScenario * scenario, GstValidateAction * action,
|
||||||
action);
|
action);
|
||||||
SCENARIO_UNLOCK (scenario);
|
SCENARIO_UNLOCK (scenario);
|
||||||
|
|
||||||
} else {
|
} else if (priv) {
|
||||||
priv->actions = g_list_append (priv->actions, action);
|
priv->actions = g_list_append (priv->actions, action);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue