[Bug 793820] Implement paste functionality within GESTimeline class

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Feb 25 23:49:05 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=793820

Thibault Saunier <tsaunier at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #368906|none                        |needs-work
             status|                            |

--- Comment #2 from Thibault Saunier <tsaunier at gnome.org> ---
Review of attachment 368906:
 --> (https://bugzilla.gnome.org/review?bug=793820&attachment=368906)

Looks almost all right :-)

::: ges/ges-timeline-element.h
@@ -138,2 +138,4 @@
   GESTimeline *timeline;
   gchar *name;
+  /* For copy-paste operation */
+  GESTimelineElement *copied_from;

This break the ABI (it would require to add `gpointer
_ges_reserved[GES_PADDING_LARGE -1];` in the same structure), but you should
rather had an internal method to get it as I do not think that should be API

::: ges/ges-timeline.h
@@ -159,2 +159,4 @@
 GST_EXPORT
 gboolean ges_timeline_is_empty (GESTimeline * timeline);
+GST_EXPORT
+GESTimelineElement * ges_timeline_paste (GESTimeline * timeline,

I would call it `ges_timeline_paste_elemt`.

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