Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gst-editing-services
gst-editing-services
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 77
    • Issues 77
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 10
    • Merge Requests 10
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-editing-servicesgst-editing-services
  • Issues
  • #38

Closed
Open
Opened Jun 03, 2018 by Bugzilla Migration User@bugzilla-migration

GESTimelineElement has some collisions between virtual methods and invokers

Submitted by Corentin Noël @tintou

Link to original bug (#796490)

Description

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);  
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gstreamer/gst-editing-services#38