GNOME Bugzilla – Bug 796490
GESTimelineElement has some collisions between virtual methods and invokers
Last modified: 2018-11-03 12:54:15 UTC
To make Vala happy, the invoker and virtual functions have to have to same prototype. Here for GESTimelineElement, a possible approach would be to add a `gboolean` as return type of the invokers The virtual methods: ``` gboolean (*set_start) (GESTimelineElement * self, GstClockTime start); gboolean (*set_inpoint) (GESTimelineElement * self, GstClockTime inpoint); gboolean (*set_duration) (GESTimelineElement * self, GstClockTime duration); gboolean (*set_max_duration) (GESTimelineElement * self, GstClockTime maxduration); gboolean (*set_priority) (GESTimelineElement * self, guint32 priority); ``` The invokers: ``` GES_API void ges_timeline_element_set_start (GESTimelineElement *self, GstClockTime start); GES_API void ges_timeline_element_set_inpoint (GESTimelineElement *self, GstClockTime inpoint); GES_API void ges_timeline_element_set_duration (GESTimelineElement *self, GstClockTime duration); GES_API void ges_timeline_element_set_max_duration (GESTimelineElement *self, GstClockTime maxduration); GES_API void ges_timeline_element_set_priority (GESTimelineElement *self, guint32 priority); ```
It should be safe to add gboolean as return values, patche welcome :-)
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/38.