mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
ges: Ensure GESClips assets are always ClipAssets
This commit is contained in:
parent
bd33ed972c
commit
7f0fc6fbed
1 changed files with 10 additions and 1 deletions
|
@ -129,7 +129,16 @@ enum
|
|||
|
||||
static GParamSpec *properties[PROP_LAST];
|
||||
|
||||
G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE (GESClip, ges_clip, GES_TYPE_CONTAINER);
|
||||
static void
|
||||
ges_extractable_interface_init (GESExtractableInterface * iface)
|
||||
{
|
||||
iface->asset_type = GES_TYPE_CLIP_ASSET;
|
||||
}
|
||||
|
||||
G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GESClip, ges_clip,
|
||||
GES_TYPE_CONTAINER, G_ADD_PRIVATE (GESClip)
|
||||
G_IMPLEMENT_INTERFACE (GES_TYPE_EXTRACTABLE,
|
||||
ges_extractable_interface_init));
|
||||
|
||||
/****************************************************
|
||||
* Listen to our children *
|
||||
|
|
Loading…
Reference in a new issue