[Bug 729415] ges-validate: add actions

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed May 7 16:24:56 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=729415
  GStreamer | gst-editing-services | unspecified

--- Comment #18 from Mathieu Duponchelle <mathieu.duponchelle at epitech.eu> 2014-05-07 23:24:51 UTC ---
(In reply to comment #17)
> Review of attachment 275687 [details]:
> 
> That commit name is weird
> 
> ::: tools/ges-validate.c
> @@ +203,3 @@
> +_remove_layer (GstValidateScenario *scenario, GstValidateAction *action)
> +{
> +  GESTimeline *timeline = get_timeline(scenario);
> 
> Have you double checked we do not get a ref? (I have a doubt)

We do get one, as the get_property for pipeline.timeline uses set_object.
Fixing that in a subsequent commit for every action.

> 
> @@ +235,3 @@
> +  gboolean res = FALSE;
> +
> +  gst_structure_get_int(action->structure, "layer-priority", &layer_priority);
> 
> Hrm, why don't you get the layer from the clip directly? I think it would make
> more sense
> 

Yep, done

> @@ +281,3 @@
> +
> +  if (!asset || error) {
> +    GST_ERROR("There was an error requesting the asset with id %s and type
> %s", asset_id, type_string);
> 
> You could print error->message, it is often useful :)

True, done

> 
> @@ +298,3 @@
> +  }
> +
> +  clip = ges_layer_add_asset(layer, asset, -1, 0, duration,
> GES_TRACK_TYPE_UNKNOWN);
> 
> duration = GST_CLOCK_TIME_NONE will do what you want.

OK, done

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list