mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
GESTimelineSource: Remove empty create_track_object vmethod
The parent class will check if it is present or not, and call track_objects if needed.
This commit is contained in:
parent
fd44f95618
commit
a98b77a648
1 changed files with 0 additions and 15 deletions
|
@ -54,10 +54,6 @@ enum
|
||||||
G_DEFINE_TYPE (GESTimelineSource, ges_timeline_source,
|
G_DEFINE_TYPE (GESTimelineSource, ges_timeline_source,
|
||||||
GES_TYPE_TIMELINE_OBJECT);
|
GES_TYPE_TIMELINE_OBJECT);
|
||||||
|
|
||||||
static GESTrackObject
|
|
||||||
* ges_timeline_source_create_track_object (GESTimelineObject * obj,
|
|
||||||
GESTrack * track);
|
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
ges_timeline_source_create_track_objects (GESTimelineObject * obj,
|
ges_timeline_source_create_track_objects (GESTimelineObject * obj,
|
||||||
GESTrack * track);
|
GESTrack * track);
|
||||||
|
@ -198,8 +194,6 @@ ges_timeline_source_class_init (GESTimelineSourceClass * klass)
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
|
|
||||||
timobj_class->create_track_object = ges_timeline_source_create_track_object;
|
|
||||||
|
|
||||||
timobj_class->create_track_objects = ges_timeline_source_create_track_objects;
|
timobj_class->create_track_objects = ges_timeline_source_create_track_objects;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -213,15 +207,6 @@ ges_timeline_source_init (GESTimelineSource * self)
|
||||||
self->valign = DEFAULT_PROP_VALIGNMENT;
|
self->valign = DEFAULT_PROP_VALIGNMENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GESTrackObject *
|
|
||||||
ges_timeline_source_create_track_object (GESTimelineObject * obj,
|
|
||||||
GESTrack * track)
|
|
||||||
{
|
|
||||||
GST_ERROR
|
|
||||||
("No GESTimelineObject::create_track_object vmethod implementation");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
ges_timeline_source_create_track_objects (GESTimelineObject * obj,
|
ges_timeline_source_create_track_objects (GESTimelineObject * obj,
|
||||||
GESTrack * track)
|
GESTrack * track)
|
||||||
|
|
Loading…
Reference in a new issue