[Bug 729382] Add a name property to GESTimelineElement

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri May 2 05:55:53 PDT 2014


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

--- Comment #17 from Mathieu Duponchelle <mathieu.duponchelle at epitech.eu> 2014-05-02 12:55:51 UTC ---
Review of attachment 275636:
 --> (https://bugzilla.gnome.org/review?bug=729382&attachment=275636)

Not OK, I think some of these comments need to be addressed.

::: tools/ges-validate.c
@@ -44,0 +46,15 @@
+static gboolean
+_edit_clip (GstValidateScenario * scenario, GstValidateAction * action)
+{
... 12 more ...

Unneeded new line :)

@@ -44,0 +46,17 @@
+static gboolean
+_edit_clip (GstValidateScenario * scenario, GstValidateAction * action)
+{
... 14 more ...

You need to either check that it was correctly obtained or make validate
enforce mandatory fields I think. Even though passing NULL to get_element
should also return NULL

@@ +65,3 @@
+  g_return_val_if_fail (timeline, FALSE);
+
+  clip = ges_timeline_get_element (timeline, clip_name);

get_element is (transfer-full) right ?

@@ +81,3 @@
+    gst_validate_utils_enum_from_str (GES_TYPE_EDGE, edge_str, &edge);
+
+  gst_structure_get_int (action->structure, "new-layer-priority",

If new-layer-priority is not provided we will end up editing to a prio of -1 I
think

-- 
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