validate: cleanup the playback-time from validate structures
authorThibault Saunier <tsaunier@igalia.com>
Mon, 26 Nov 2018 17:50:03 +0000 (14:50 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Mon, 26 Nov 2018 17:50:03 +0000 (14:50 -0300)
Otherwise we might fail on them in the ges-structure-interface

ges/ges-validate.c

index 94b2e08..5cd4e15 100644 (file)
@@ -568,6 +568,7 @@ _validate_action_execute (GstValidateScenario * scenario,
 
   DECLARE_AND_GET_TIMELINE (scenario, action);
 
+  gst_structure_remove_field (action->structure, "playback-time");
   if (gst_structure_has_name (action->structure, "add-keyframe") ||
       gst_structure_has_name (action->structure, "remove-keyframe")) {
     func = _ges_add_remove_keyframe_from_struct;