timeline-object: Implement the GESMetadataContainer interface

This commit is contained in:
Thibault Saunier 2012-11-20 00:29:23 -03:00
parent ca0bcfcd50
commit c2fe7f0c82

View file

@ -79,11 +79,14 @@ static GESTimelineObject *ges_timeline_object_copy (GESTimelineObject * object,
gboolean * deep);
static void ges_extractable_interface_init (GESExtractableInterface * iface);
static void ges_meta_container_interface_init (GESMetaContainerInterface *
iface);
G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GESTimelineObject, ges_timeline_object,
G_TYPE_INITIALLY_UNOWNED,
G_IMPLEMENT_INTERFACE (GES_TYPE_EXTRACTABLE,
ges_extractable_interface_init));
G_IMPLEMENT_INTERFACE (GES_TYPE_EXTRACTABLE, ges_extractable_interface_init)
G_IMPLEMENT_INTERFACE (GES_TYPE_META_CONTAINER,
ges_meta_container_interface_init));
/* Mapping of relationship between a TimelineObject and the TrackObjects
* it controls
@ -442,6 +445,11 @@ ges_extractable_interface_init (GESExtractableInterface * iface)
iface->register_metas = _register_metas;
}
static void
ges_meta_container_interface_init (GESMetaContainerInterface * iface)
{
}
/**
* ges_timeline_object_create_track_object:
* @object: The origin #GESTimelineObject