mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-27 06:20:12 +00:00
validate:scenario: Do not consider action with 'on-message' as on addition
This commit is contained in:
parent
2b32a68df1
commit
05815d4b4f
1 changed files with 2 additions and 1 deletions
|
@ -1947,7 +1947,8 @@ _fill_action (GstValidateScenario * scenario, GstValidateAction * action,
|
||||||
GstValidateActionType *type = _find_action_type (action->type);
|
GstValidateActionType *type = _find_action_type (action->type);
|
||||||
gboolean can_execute_on_addition =
|
gboolean can_execute_on_addition =
|
||||||
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)
|
||||||
|
&& !gst_structure_has_field (action->structure, "on-message");
|
||||||
|
|
||||||
if (needs_parsing)
|
if (needs_parsing)
|
||||||
can_execute_on_addition = FALSE;
|
can_execute_on_addition = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue