Top | ![]() |
![]() |
![]() |
![]() |
GESExtractable InterfaceGESExtractable Interface — An interface for objects which can be extracted from a GESAsset |
GESExtractable is implemented by GESAudioSource, GESAudioTestSource, GESAudioTransition, GESAudioUriSource, GESBaseEffect, GESBaseEffectClip, GESBaseTransitionClip, GESClip, GESContainer, GESEffect, GESEffectClip, GESFormatter, GESGroup, GESImageSource, GESLayer, GESMultiFileSource, GESOperation, GESOperationClip, GESOverlayClip, GESSource, GESSourceClip, GESTestClip, GESTextOverlay, GESTextOverlayClip, GESTimeline, GESTimelineElement, GESTitleClip, GESTitleSource, GESTrackElement, GESTransition, GESTransitionClip, GESUriClip, GESVideoSource, GESVideoTestSource, GESVideoTransition and GESVideoUriSource.
gchar * (*GESExtractableCheckId) (GType type
,const gchar *id
,GError **error
);
type |
The GType to check |
|
id |
The id to check |
|
error |
An error that can be set if needed |
GESAsset *
ges_extractable_get_asset (GESExtractable *self
);
Method for getting an asset from a GESExtractable
gboolean ges_extractable_set_asset (GESExtractable *self
,GESAsset *asset
);
Method to set the asset which instantiated the specified object
typedef struct { GTypeInterface parent; GType asset_type; GESExtractableCheckId check_id; gboolean can_update_asset; void (*set_asset) (GESExtractable *self, GESAsset *asset); gboolean (*set_asset_full) (GESExtractable *self, GESAsset *asset); GParameter *(*get_parameters_from_id) (const gchar *id, guint *n_params); gchar * (*get_id) (GESExtractable *self); GType (*get_real_extractable_type) (GType wanted_type, const gchar *id); gboolean (*register_metas) (GESExtractableInterface *self, GObjectClass *klass, GESAsset *asset); gpointer _ges_reserved[GES_PADDING]; } GESExtractableInterface;