![]() |
![]() |
![]() |
GStreamer Editing Services 1.2.1 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites | Known Implementations |
GESExtractableInterfaceGESExtractableInterface — An interface for objects which can be extracted from a GESAsset |
#include <ges/ges.h> GESExtractable; GESExtractableInterface; gchar * (*GESExtractableCheckId) (GType type
,const gchar *id
,GError **error
); GESAsset * ges_extractable_get_asset (GESExtractable *self
); void ges_extractable_set_asset (GESExtractable *self
,GESAsset *asset
); gchar * ges_extractable_get_id (GESExtractable *self
);
GESExtractable is implemented by GESAudioSource, GESAudioTestSource, GESAudioTransition, GESAudioUriSource, GESBaseEffect, GESBaseEffectClip, GESBaseTransitionClip, GESClip, GESContainer, GESEffect, GESEffectClip, GESFormatter, GESImageSource, GESLayer, GESOperation, GESOperationClip, GESOverlayClip, GESSource, GESSourceClip, GESTestClip, GESTextOverlay, GESTextOverlayClip, GESTimeline, GESTimelineElement, GESTitleClip, GESTitleSource, GESTrackElement, GESTransition, GESTransitionClip, GESUriClip, GESVideoSource, GESVideoTestSource, GESVideoTransition and GESVideoUriSource.
typedef struct { GTypeInterface parent; GType asset_type; GESExtractableCheckId check_id; gboolean can_update_asset; void (*set_asset) (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;
gchar * (*GESExtractableCheckId) (GType type
,const gchar *id
,GError **error
);
GESAsset * ges_extractable_get_asset (GESExtractable *self
);
Method for getting an asset from a GESExtractable
|
The GESExtractable from which to retrieve a GESAsset |
Returns : |
The GESAsset or NULL if none has been set. [transfer none]
|
void ges_extractable_set_asset (GESExtractable *self
,GESAsset *asset
);
Method to set the asset which instantiated the specified object
|
Target object |
|
The GESAsset to set. [transfer none] |
gchar * ges_extractable_get_id (GESExtractable *self
);
|
The GESExtractable |
Returns : |
The id of the associated GESAsset, free with g_free |