We need different export decorators for the different libs.
For now no actual change though, just rename before the release,
and add prelude headers to define the new decorator to GST_EXPORT.
main_sgml : 'ges-docs.sgml',
src_dir : '@0@/../../ges'.format(meson.current_source_dir()),
scan_args : ['--deprecated-guards=GST_DISABLE_DEPRECATED',
- '--ignore-decorators=GST_EXPORT',
+ '--ignore-decorators=GES_API',
'--ignore-headers=gesmarshal.h ges-internal.h ges-auto-transition.h ges-structured-interface.h ges-structure-parser.h ges-smart-video-mixer.h gstframepositioner.h'
],
scanobjs_args : ['--type-init-func="gst_init(NULL,NULL)"'],
$(built_header_make) \
ges-types.h \
ges.h \
+ ges-prelude.h \
ges-enums.h \
ges-gerror.h \
ges-meta-container.h \
typedef struct _GESAssetPrivate GESAssetPrivate;
-GST_EXPORT
+GST_GES_API
GType ges_asset_get_type (void);
struct _GESAsset
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_asset_get_extractable_type (GESAsset * self);
-GST_EXPORT
+GST_GES_API
void ges_asset_request_async (GType extractable_type,
const gchar * id,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
-GST_EXPORT
+GST_GES_API
GESAsset * ges_asset_request (GType extractable_type,
const gchar * id,
GError **error);
-GST_EXPORT
+GST_GES_API
const gchar * ges_asset_get_id (GESAsset* self);
-GST_EXPORT
+GST_GES_API
GESAsset * ges_asset_request_finish (GAsyncResult *res,
GError **error);
-GST_EXPORT
+GST_GES_API
GError * ges_asset_get_error (GESAsset * self);
-GST_EXPORT
+GST_GES_API
GESExtractable * ges_asset_extract (GESAsset * self,
GError **error);
-GST_EXPORT
+GST_GES_API
GList * ges_list_assets (GType filter);
-GST_EXPORT
+GST_GES_API
gboolean ges_asset_set_proxy (GESAsset *asset, GESAsset *proxy);
-GST_EXPORT
+GST_GES_API
gboolean ges_asset_unproxy (GESAsset *asset, GESAsset * proxy);
-GST_EXPORT
+GST_GES_API
GList * ges_asset_list_proxies (GESAsset *asset);
-GST_EXPORT
+GST_GES_API
GESAsset * ges_asset_get_proxy_target(GESAsset *proxy);
-GST_EXPORT
+GST_GES_API
GESAsset * ges_asset_get_proxy (GESAsset *asset);
-GST_EXPORT
+GST_GES_API
gboolean ges_asset_needs_reload (GType extractable_type,
const gchar * id);
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_audio_source_get_type (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_audio_test_source_get_type (void);
-GST_EXPORT
+GST_GES_API
void ges_audio_test_source_set_freq(GESAudioTestSource *self,
gdouble freq);
-GST_EXPORT
+GST_GES_API
void ges_audio_test_source_set_volume(GESAudioTestSource *self,
gdouble volume);
-GST_EXPORT
+GST_GES_API
double ges_audio_test_source_get_freq(GESAudioTestSource *self);
-GST_EXPORT
+GST_GES_API
double ges_audio_test_source_get_volume(GESAudioTestSource *self);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_audio_track_get_type (void) G_GNUC_CONST;
-GST_EXPORT
+GST_GES_API
GESAudioTrack* ges_audio_track_new (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_audio_transition_get_type (void);
-GST_EXPORT
+GST_GES_API
GESAudioTransition* ges_audio_transition_new (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_audio_uri_source_get_type (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_base_effect_clip_get_type (void);
G_END_DECLS
};
-GST_EXPORT
+GST_GES_API
GType ges_base_effect_get_type (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_base_transition_clip_get_type (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_base_xml_formatter_get_type (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_clip_asset_get_type (void);
-GST_EXPORT
+GST_GES_API
void ges_clip_asset_set_supported_formats (GESClipAsset *self,
GESTrackType supportedformats);
-GST_EXPORT
+GST_GES_API
GESTrackType ges_clip_asset_get_supported_formats (GESClipAsset *self);
G_END_DECLS
/****************************************************
* Standard *
****************************************************/
-GST_EXPORT
+GST_GES_API
GType ges_clip_get_type (void);
/****************************************************
* TrackElement handling *
****************************************************/
-GST_EXPORT
+GST_GES_API
GESTrackType ges_clip_get_supported_formats (GESClip *clip);
-GST_EXPORT
+GST_GES_API
void ges_clip_set_supported_formats (GESClip *clip, GESTrackType supportedformats);
-GST_EXPORT
+GST_GES_API
GESTrackElement* ges_clip_add_asset (GESClip *clip, GESAsset *asset);
-GST_EXPORT
+GST_GES_API
GESTrackElement* ges_clip_find_track_element (GESClip *clip, GESTrack *track,
GType type);
-GST_EXPORT
+GST_GES_API
GList * ges_clip_find_track_elements (GESClip * clip, GESTrack * track,
GESTrackType track_type, GType type);
/****************************************************
* Layer *
****************************************************/
-GST_EXPORT
+GST_GES_API
GESLayer* ges_clip_get_layer (GESClip *clip);
-GST_EXPORT
+GST_GES_API
gboolean ges_clip_move_to_layer (GESClip *clip, GESLayer *layer);
/****************************************************
* Effects *
****************************************************/
-GST_EXPORT
+GST_GES_API
GList* ges_clip_get_top_effects (GESClip *clip);
-GST_EXPORT
+GST_GES_API
gint ges_clip_get_top_effect_position (GESClip *clip, GESBaseEffect *effect);
-GST_EXPORT
+GST_GES_API
gint ges_clip_get_top_effect_index (GESClip *clip, GESBaseEffect *effect);
-GST_EXPORT
+GST_GES_API
gboolean ges_clip_set_top_effect_priority (GESClip *clip, GESBaseEffect *effect,
guint newpriority);
-GST_EXPORT
+GST_GES_API
gboolean ges_clip_set_top_effect_index (GESClip *clip, GESBaseEffect *effect,
guint newindex);
/****************************************************
* Editing *
****************************************************/
-GST_EXPORT
+GST_GES_API
GESClip* ges_clip_split (GESClip *clip, guint64 position);
G_END_DECLS
GESCommandLineFormatterPrivate *priv;
};
-GST_EXPORT
+GST_GES_API
GType ges_command_line_formatter_get_type (void);
-GST_EXPORT
+GST_GES_API
gchar * ges_command_line_formatter_get_help (gint nargs, gchar ** commands);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING_LARGE];
};
-GST_EXPORT
+GST_GES_API
GType ges_container_get_type (void);
/* Children handling */
-GST_EXPORT
+GST_GES_API
GList* ges_container_get_children (GESContainer *container, gboolean recursive);
-GST_EXPORT
+GST_GES_API
gboolean ges_container_add (GESContainer *container, GESTimelineElement *child);
-GST_EXPORT
+GST_GES_API
gboolean ges_container_remove (GESContainer *container, GESTimelineElement *child);
-GST_EXPORT
+GST_GES_API
GList * ges_container_ungroup (GESContainer * container, gboolean recursive);
-GST_EXPORT
+GST_GES_API
GESContainer *ges_container_group (GList *containers);
-GST_EXPORT
+GST_GES_API
gboolean ges_container_edit (GESContainer * container,
GList * layers, gint new_layer_priority,
GESEditMode mode,
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_effect_asset_get_type (void) G_GNUC_CONST;
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_effect_clip_get_type (void);
-GST_EXPORT GESEffectClip *
+GST_GES_API GESEffectClip *
ges_effect_clip_new (const gchar * video_bin_description,
const gchar * audio_bin_description);
};
-GST_EXPORT
+GST_GES_API
GType ges_effect_get_type (void);
-GST_EXPORT GESEffect*
+GST_GES_API GESEffect*
ges_effect_new (const gchar * bin_description);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_effect_class_register_rate_property (GESEffectClass *klass, const gchar *element_name, const gchar *property_name);
G_END_DECLS
#define __GES_ENUMS_H__
#include <gst/gst.h>
+#include <ges/ges-prelude.h>
G_BEGIN_DECLS
#define GES_TYPE_TRACK_TYPE (ges_track_type_get_type ())
-GST_EXPORT
+GST_GES_API
GType ges_track_type_get_type (void);
/**
} GESTrackType;
#define GES_META_FLAG_TYPE (ges_meta_flag_get_type ())
-GST_EXPORT
+GST_GES_API
GType ges_meta_flag_get_type (void);
/**
#define GES_VIDEO_STANDARD_TRANSITION_TYPE_TYPE \
(ges_video_standard_transition_type_get_type())
-GST_EXPORT
+GST_GES_API
GType ges_video_standard_transition_type_get_type (void);
/**
#define GES_TEXT_VALIGN_TYPE\
(ges_text_valign_get_type ())
-GST_EXPORT
+GST_GES_API
GType ges_text_valign_get_type (void);
/**
#define GES_TEXT_HALIGN_TYPE\
(ges_text_halign_get_type ())
-GST_EXPORT
+GST_GES_API
GType ges_text_halign_get_type (void);
/**
#define GES_VIDEO_TEST_PATTERN_TYPE\
ges_video_test_pattern_get_type()
-GST_EXPORT
+GST_GES_API
GType ges_video_test_pattern_get_type (void);
/**
#define GES_TYPE_PIPELINE_FLAGS\
ges_pipeline_flags_get_type()
-GST_EXPORT
+GST_GES_API
GType ges_pipeline_flags_get_type (void);
/**
#define GES_TYPE_EDIT_MODE ges_edit_mode_get_type()
-GST_EXPORT
+GST_GES_API
GType ges_edit_mode_get_type (void);
/**
#define GES_TYPE_EDGE ges_edge_get_type()
-GST_EXPORT
+GST_GES_API
GType ges_edge_get_type (void);
-GST_EXPORT
+GST_GES_API
const gchar * ges_track_type_name (GESTrackType type);
G_END_DECLS
#define GES_IS_EXTRACTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_EXTRACTABLE))
#define GES_EXTRACTABLE_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GES_TYPE_EXTRACTABLE, GESExtractableInterface))
-GST_EXPORT
+GST_GES_API
GType ges_extractable_get_type (void);
/**
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GESAsset* ges_extractable_get_asset (GESExtractable *self);
-GST_EXPORT
+GST_GES_API
gboolean ges_extractable_set_asset (GESExtractable *self,
GESAsset *asset);
-GST_EXPORT
+GST_GES_API
gchar * ges_extractable_get_id (GESExtractable *self);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_formatter_get_type (void);
-GST_EXPORT
+GST_GES_API
void ges_formatter_class_register_metas (GESFormatterClass * klass,
const gchar *name,
const gchar *description,
gdouble version,
GstRank rank);
-GST_EXPORT
+GST_GES_API
gboolean ges_formatter_can_load_uri (const gchar * uri, GError **error);
-GST_EXPORT
+GST_GES_API
gboolean ges_formatter_can_save_uri (const gchar * uri, GError **error);
-GST_EXPORT
+GST_GES_API
gboolean ges_formatter_load_from_uri (GESFormatter * formatter,
GESTimeline *timeline,
const gchar *uri,
GError **error);
-GST_EXPORT
+GST_GES_API
gboolean ges_formatter_save_to_uri (GESFormatter * formatter,
GESTimeline *timeline,
const gchar *uri,
gboolean overwrite,
GError **error);
-GST_EXPORT
+GST_GES_API
GESAsset *ges_formatter_get_default (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_group_get_type (void);
-GST_EXPORT
+GST_GES_API
GESGroup *ges_group_new (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_image_source_get_type (void);
G_END_DECLS
G_GNUC_INTERNAL gboolean
ges_asset_cache_set_loaded(GType extractable_type, const gchar * id, GError *error);
-GST_EXPORT GESAsset*
+GST_GES_API GESAsset*
ges_asset_cache_lookup(GType extractable_type, const gchar * id);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_asset_try_proxy (GESAsset *asset, const gchar *new_id);
G_GNUC_INTERNAL gboolean
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_layer_get_type (void);
-GST_EXPORT
+GST_GES_API
GESLayer* ges_layer_new (void);
-GST_EXPORT
+GST_GES_API
void ges_layer_set_timeline (GESLayer * layer,
GESTimeline * timeline);
-GST_EXPORT GESTimeline *
+GST_GES_API GESTimeline *
ges_layer_get_timeline (GESLayer * layer);
-GST_EXPORT
+GST_GES_API
gboolean ges_layer_add_clip (GESLayer * layer,
GESClip * clip);
-GST_EXPORT
+GST_GES_API
GESClip * ges_layer_add_asset (GESLayer *layer,
GESAsset *asset,
GstClockTime start,
GstClockTime duration,
GESTrackType track_types);
-GST_EXPORT
+GST_GES_API
gboolean ges_layer_remove_clip (GESLayer * layer,
GESClip * clip);
-GST_EXPORT
+GST_GES_API
void ges_layer_set_priority (GESLayer * layer,
guint priority);
-GST_EXPORT
+GST_GES_API
gboolean ges_layer_is_empty (GESLayer * layer);
-GST_EXPORT
+GST_GES_API
GList* ges_layer_get_clips_in_interval (GESLayer * layer, GstClockTime start, GstClockTime end);
-GST_EXPORT
+GST_GES_API
guint ges_layer_get_priority (GESLayer * layer);
-GST_EXPORT
+GST_GES_API
gboolean ges_layer_get_auto_transition (GESLayer * layer);
-GST_EXPORT
+GST_GES_API
void ges_layer_set_auto_transition (GESLayer * layer,
gboolean auto_transition);
-GST_EXPORT
+GST_GES_API
GList* ges_layer_get_clips (GESLayer * layer);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_layer_get_duration (GESLayer *layer);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_meta_container_get_type (void);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_boolean (GESMetaContainer *container,
const gchar* meta_item,
gboolean value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_int (GESMetaContainer *container,
const gchar* meta_item,
gint value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_uint (GESMetaContainer *container,
const gchar* meta_item,
guint value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_int64 (GESMetaContainer *container,
const gchar* meta_item,
gint64 value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_uint64 (GESMetaContainer *container,
const gchar* meta_item,
guint64 value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_float (GESMetaContainer *container,
const gchar* meta_item,
gfloat value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_double (GESMetaContainer *container,
const gchar* meta_item,
gdouble value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_date (GESMetaContainer *container,
const gchar* meta_item,
const GDate* value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_date_time (GESMetaContainer *container,
const gchar* meta_item,
const GstDateTime* value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_string (GESMetaContainer *container,
const gchar* meta_item,
const gchar* value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_meta (GESMetaContainer * container,
const gchar* meta_item,
const GValue *value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_boolean (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
gboolean value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_int (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
gint value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_uint (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
guint value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_int64 (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
gint64 value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_uint64 (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
guint64 value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_float (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
gfloat value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_double (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
gdouble value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_date (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
const GDate* value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_date_time (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
const GstDateTime* value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_string (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
const gchar* value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
const GValue * value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_check_meta_registered (GESMetaContainer *container,
const gchar * meta_item,
GESMetaFlag * flags,
GType * type);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_boolean (GESMetaContainer *container,
const gchar* meta_item,
gboolean* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_int (GESMetaContainer *container,
const gchar* meta_item,
gint* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_uint (GESMetaContainer *container,
const gchar* meta_item,
guint* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_int64 (GESMetaContainer *container,
const gchar* meta_item,
gint64* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_uint64 (GESMetaContainer *container,
const gchar* meta_item,
guint64* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_float (GESMetaContainer *container,
const gchar* meta_item,
gfloat* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_double (GESMetaContainer *container,
const gchar* meta_item,
gdouble* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_date (GESMetaContainer *container,
const gchar* meta_item,
GDate** dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_date_time (GESMetaContainer *container,
const gchar* meta_item,
GstDateTime** dest);
-GST_EXPORT const gchar *
+GST_GES_API const gchar *
ges_meta_container_get_string (GESMetaContainer * container,
const gchar * meta_item);
-GST_EXPORT const GValue *
+GST_GES_API const GValue *
ges_meta_container_get_meta (GESMetaContainer * container,
const gchar * key);
const GValue *value,
gpointer user_data);
-GST_EXPORT void
+GST_GES_API void
ges_meta_container_foreach (GESMetaContainer *container,
GESMetaForeachFunc func,
gpointer user_data);
-GST_EXPORT gchar *
+GST_GES_API gchar *
ges_meta_container_metas_to_string (GESMetaContainer *container);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_add_metas_from_string (GESMetaContainer *container,
const gchar *str);
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_multi_file_source_get_type (void);
-GST_EXPORT
+GST_GES_API
GESMultiFileSource *ges_multi_file_source_new (gchar * uri);
#define GES_MULTI_FILE_URI_PREFIX "multifile://"
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_operation_clip_get_type (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_operation_get_type (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_overlay_clip_get_type (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_pipeline_get_type (void);
-GST_EXPORT
+GST_GES_API
GESPipeline* ges_pipeline_new (void);
-GST_EXPORT
+GST_GES_API
gboolean ges_pipeline_set_timeline (GESPipeline * pipeline,
GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
gboolean ges_pipeline_set_render_settings (GESPipeline *pipeline,
const gchar * output_uri,
GstEncodingProfile *profile);
-GST_EXPORT
+GST_GES_API
gboolean ges_pipeline_set_mode (GESPipeline *pipeline,
GESPipelineFlags mode);
-GST_EXPORT
+GST_GES_API
GESPipelineFlags ges_pipeline_get_mode (GESPipeline *pipeline);
-GST_EXPORT GstSample *
+GST_GES_API GstSample *
ges_pipeline_get_thumbnail(GESPipeline *self, GstCaps *caps);
-GST_EXPORT GstSample *
+GST_GES_API GstSample *
ges_pipeline_get_thumbnail_rgb24(GESPipeline *self,
gint width, gint height);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_pipeline_save_thumbnail(GESPipeline *self,
int width, int height, const gchar *format, const gchar *location,
GError **error);
-GST_EXPORT GstElement *
+GST_GES_API GstElement *
ges_pipeline_preview_get_video_sink (GESPipeline * self);
-GST_EXPORT void
+GST_GES_API void
ges_pipeline_preview_set_video_sink (GESPipeline * self,
GstElement * sink);
-GST_EXPORT GstElement *
+GST_GES_API GstElement *
ges_pipeline_preview_get_audio_sink (GESPipeline * self);
-GST_EXPORT void
+GST_GES_API void
ges_pipeline_preview_set_audio_sink (GESPipeline * self,
GstElement * sink);
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_pitivi_formatter_get_type (void);
-GST_EXPORT
+GST_GES_API
GESPitiviFormatter *ges_pitivi_formatter_new (void);
G_END_DECLS
--- /dev/null
+/* GStreamer GES Library
+ * Copyright (C) 2018 GStreamer developers
+ *
+ * ges-prelude.h: prelude include header for gst-ges library
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef __GST_GES_PRELUDE_H__
+#define __GST_GES_PRELUDE_H__
+
+#include <gst/gst.h>
+
+#ifndef GST_GES_API
+#define GST_GES_API GST_EXPORT
+#endif
+
+#endif /* __GST_GES_PRELUDE_H__ */
typedef struct _GESProjectPrivate GESProjectPrivate;
-GST_EXPORT
+GST_GES_API
GType ges_project_get_type (void);
struct _GESProject
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
gboolean ges_project_add_asset (GESProject* project,
GESAsset *asset);
-GST_EXPORT
+GST_GES_API
gboolean ges_project_remove_asset (GESProject *project,
GESAsset * asset);
-GST_EXPORT
+GST_GES_API
GList * ges_project_list_assets (GESProject * project,
GType filter);
-GST_EXPORT
+GST_GES_API
gboolean ges_project_save (GESProject * project,
GESTimeline * timeline,
const gchar *uri,
GESAsset * formatter_asset,
gboolean overwrite,
GError **error);
-GST_EXPORT
+GST_GES_API
gboolean ges_project_load (GESProject * project,
GESTimeline * timeline,
GError **error);
-GST_EXPORT
+GST_GES_API
GESProject * ges_project_new (const gchar *uri);
-GST_EXPORT
+GST_GES_API
gchar * ges_project_get_uri (GESProject *project);
-GST_EXPORT
+GST_GES_API
GESAsset * ges_project_get_asset (GESProject * project,
const gchar *id,
GType extractable_type);
-GST_EXPORT
+GST_GES_API
gboolean ges_project_create_asset (GESProject * project,
const gchar *id,
GType extractable_type);
-GST_EXPORT
+GST_GES_API
GESAsset * ges_project_create_asset_sync (GESProject * project,
const gchar * id,
GType extractable_type,
GError **error);
-GST_EXPORT
+GST_GES_API
GList * ges_project_get_loading_assets (GESProject * project);
-GST_EXPORT
+GST_GES_API
gboolean ges_project_add_encoding_profile (GESProject *project,
GstEncodingProfile *profile);
-GST_EXPORT
+GST_GES_API
const GList *ges_project_list_encoding_profiles (GESProject *project);
-GST_EXPORT
+GST_GES_API
gboolean ges_add_missing_uri_relocation_uri (const gchar * uri,
gboolean recurse);
#define __GES_SCREENSHOT_H__
#include <gst/gst.h>
+#include <ges/ges-prelude.h>
G_BEGIN_DECLS
-GST_EXPORT GstSample *
+GST_GES_API GstSample *
ges_play_sink_convert_frame (GstElement * playsink, GstCaps * caps);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_smart_adder_get_type (void) G_GNUC_CONST;
-GST_EXPORT
+GST_GES_API
GstElement* ges_smart_adder_new (GESTrack *track);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_source_clip_get_type (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_source_get_type (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_test_clip_get_type (void);
-GST_EXPORT void
+GST_GES_API void
ges_test_clip_set_mute (GESTestClip * self, gboolean mute);
-GST_EXPORT void
+GST_GES_API void
ges_test_clip_set_vpattern (GESTestClip * self,
GESVideoTestPattern vpattern);
-GST_EXPORT void
+GST_GES_API void
ges_test_clip_set_frequency (GESTestClip * self, gdouble freq);
-GST_EXPORT void
+GST_GES_API void
ges_test_clip_set_volume (GESTestClip * self,
gdouble volume);
-GST_EXPORT GESVideoTestPattern
+GST_GES_API GESVideoTestPattern
ges_test_clip_get_vpattern (GESTestClip * self);
-GST_EXPORT
+GST_GES_API
gboolean ges_test_clip_is_muted (GESTestClip * self);
-GST_EXPORT
+GST_GES_API
gdouble ges_test_clip_get_frequency (GESTestClip * self);
-GST_EXPORT
+GST_GES_API
gdouble ges_test_clip_get_volume (GESTestClip * self);
-GST_EXPORT
+GST_GES_API
GESTestClip* ges_test_clip_new (void);
-GST_EXPORT
+GST_GES_API
GESTestClip* ges_test_clip_new_for_nick(gchar * nick);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_text_overlay_clip_get_type (void);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_text (GESTextOverlayClip * self,
const gchar * text);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_font_desc (GESTextOverlayClip * self,
const gchar * font_desc);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_valign (GESTextOverlayClip * self,
GESTextVAlign valign);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_halign (GESTextOverlayClip * self,
GESTextHAlign halign);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_color (GESTextOverlayClip * self,
guint32 color);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_xpos (GESTextOverlayClip * self,
gdouble position);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_ypos (GESTextOverlayClip * self,
gdouble position);
-GST_EXPORT
+GST_GES_API
const gchar *ges_text_overlay_clip_get_text (GESTextOverlayClip * self);
-GST_EXPORT
+GST_GES_API
const gchar *ges_text_overlay_clip_get_font_desc (GESTextOverlayClip *
self);
-GST_EXPORT GESTextVAlign
+GST_GES_API GESTextVAlign
ges_text_overlay_clip_get_valignment (GESTextOverlayClip * self);
-GST_EXPORT const guint32
+GST_GES_API const guint32
ges_text_overlay_clip_get_color (GESTextOverlayClip * self);
-GST_EXPORT const gdouble
+GST_GES_API const gdouble
ges_text_overlay_clip_get_xpos (GESTextOverlayClip * self);
-GST_EXPORT const gdouble
+GST_GES_API const gdouble
ges_text_overlay_clip_get_ypos (GESTextOverlayClip * self);
-GST_EXPORT GESTextHAlign
+GST_GES_API GESTextHAlign
ges_text_overlay_clip_get_halignment (GESTextOverlayClip * self);
-GST_EXPORT
+GST_GES_API
GESTextOverlayClip *ges_text_overlay_clip_new (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_text_overlay_get_type (void);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_text (GESTextOverlay * self,
const gchar * text);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_font_desc (GESTextOverlay * self,
const gchar * font_desc);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_halignment (GESTextOverlay * self,
GESTextHAlign halign);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_valignment (GESTextOverlay * self,
GESTextVAlign valign);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_color (GESTextOverlay * self,
guint32 color);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_xpos (GESTextOverlay * self,
gdouble position);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_ypos (GESTextOverlay * self,
gdouble position);
-GST_EXPORT
+GST_GES_API
const gchar *ges_text_overlay_get_text (GESTextOverlay * self);
-GST_EXPORT
+GST_GES_API
const char *ges_text_overlay_get_font_desc (GESTextOverlay * self);
-GST_EXPORT
+GST_GES_API
GESTextHAlign ges_text_overlay_get_halignment (GESTextOverlay *
self);
-GST_EXPORT
+GST_GES_API
GESTextVAlign ges_text_overlay_get_valignment (GESTextOverlay *
self);
-GST_EXPORT
+GST_GES_API
const guint32 ges_text_overlay_get_color (GESTextOverlay * self);
-GST_EXPORT
+GST_GES_API
const gdouble ges_text_overlay_get_xpos (GESTextOverlay * self);
-GST_EXPORT
+GST_GES_API
const gdouble ges_text_overlay_get_ypos (GESTextOverlay * self);
-GST_EXPORT
+GST_GES_API
GESTextOverlay *ges_text_overlay_new (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING_LARGE - 2];
};
-GST_EXPORT
+GST_GES_API
GType ges_timeline_element_get_type (void) G_GNUC_CONST;
-GST_EXPORT GESTimelineElement *
+GST_GES_API GESTimelineElement *
ges_timeline_element_get_toplevel_parent (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
GESTimelineElement * ges_timeline_element_get_parent (GESTimelineElement * self);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_set_parent (GESTimelineElement *self, GESTimelineElement *parent);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_set_timeline (GESTimelineElement *self, GESTimeline *timeline);
-GST_EXPORT
+GST_GES_API
void ges_timeline_element_set_start (GESTimelineElement *self, GstClockTime start);
-GST_EXPORT
+GST_GES_API
void ges_timeline_element_set_inpoint (GESTimelineElement *self, GstClockTime inpoint);
-GST_EXPORT
+GST_GES_API
void ges_timeline_element_set_duration (GESTimelineElement *self, GstClockTime duration);
-GST_EXPORT
+GST_GES_API
void ges_timeline_element_set_max_duration (GESTimelineElement *self, GstClockTime maxduration);
-GST_EXPORT
+GST_GES_API
void ges_timeline_element_set_priority (GESTimelineElement *self, guint32 priority);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_timeline_element_get_start (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_timeline_element_get_inpoint (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_timeline_element_get_duration (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_timeline_element_get_max_duration (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
GESTimeline * ges_timeline_element_get_timeline (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
guint32 ges_timeline_element_get_priority (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_ripple (GESTimelineElement *self, GstClockTime start);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_ripple_end (GESTimelineElement *self, GstClockTime end);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_roll_start (GESTimelineElement *self, GstClockTime start);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_roll_end (GESTimelineElement *self, GstClockTime end);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_trim (GESTimelineElement *self, GstClockTime start);
-GST_EXPORT
+GST_GES_API
GESTimelineElement * ges_timeline_element_copy (GESTimelineElement *self, gboolean deep);
-GST_EXPORT
+GST_GES_API
gchar * ges_timeline_element_get_name (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_set_name (GESTimelineElement *self, const gchar *name);
-GST_EXPORT GParamSpec **
+GST_GES_API GParamSpec **
ges_timeline_element_list_children_properties (GESTimelineElement *self,
guint *n_properties);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_lookup_child (GESTimelineElement *self,
const gchar *prop_name,
GObject **child,
GParamSpec **pspec);
-GST_EXPORT void
+GST_GES_API void
ges_timeline_element_get_child_property_by_pspec (GESTimelineElement * self,
GParamSpec * pspec,
GValue * value);
-GST_EXPORT void
+GST_GES_API void
ges_timeline_element_get_child_property_valist (GESTimelineElement * self,
const gchar * first_property_name,
va_list var_args);
-GST_EXPORT void
+GST_GES_API void
ges_timeline_element_get_child_properties (GESTimelineElement *self,
const gchar * first_property_name,
...) G_GNUC_NULL_TERMINATED;
-GST_EXPORT void
+GST_GES_API void
ges_timeline_element_set_child_property_valist (GESTimelineElement * self,
const gchar * first_property_name,
va_list var_args);
-GST_EXPORT void
+GST_GES_API void
ges_timeline_element_set_child_property_by_pspec (GESTimelineElement * self,
GParamSpec * pspec,
GValue * value);
-GST_EXPORT
+GST_GES_API
void ges_timeline_element_set_child_properties (GESTimelineElement * self,
const gchar * first_property_name,
...) G_GNUC_NULL_TERMINATED;
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_set_child_property (GESTimelineElement *self,
const gchar *property_name,
GValue * value);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_get_child_property (GESTimelineElement *self,
const gchar *property_name,
GValue * value);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_add_child_property (GESTimelineElement * self,
GParamSpec *pspec,
GObject *child);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_remove_child_property(GESTimelineElement * self,
GParamSpec *pspec);
-GST_EXPORT
+GST_GES_API
GESTimelineElement * ges_timeline_element_paste (GESTimelineElement * self,
GstClockTime paste_position);
-GST_EXPORT
+GST_GES_API
GESTrackType ges_timeline_element_get_track_types (GESTimelineElement * self);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_timeline_get_type (void);
-GST_EXPORT
+GST_GES_API
GESTimeline* ges_timeline_new (void);
-GST_EXPORT
+GST_GES_API
GESTimeline* ges_timeline_new_from_uri (const gchar *uri, GError **error);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_load_from_uri (GESTimeline *timeline, const gchar *uri, GError **error);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_save_to_uri (GESTimeline * timeline, const gchar * uri,
GESAsset *formatter_asset, gboolean overwrite, GError ** error);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_add_layer (GESTimeline *timeline, GESLayer *layer);
-GST_EXPORT
+GST_GES_API
GESLayer * ges_timeline_append_layer (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_remove_layer (GESTimeline *timeline, GESLayer *layer);
-GST_EXPORT
+GST_GES_API
GList* ges_timeline_get_layers (GESTimeline *timeline);
-GST_EXPORT
+GST_GES_API
GESLayer* ges_timeline_get_layer (GESTimeline *timeline, guint priority);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_add_track (GESTimeline *timeline, GESTrack *track);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_remove_track (GESTimeline *timeline, GESTrack *track);
-GST_EXPORT
+GST_GES_API
GESTrack * ges_timeline_get_track_for_pad (GESTimeline *timeline, GstPad *pad);
-GST_EXPORT
+GST_GES_API
GstPad * ges_timeline_get_pad_for_track (GESTimeline * timeline, GESTrack *track);
-GST_EXPORT
+GST_GES_API
GList *ges_timeline_get_tracks (GESTimeline *timeline);
-GST_EXPORT
+GST_GES_API
GList* ges_timeline_get_groups (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_commit (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_commit_sync (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_timeline_get_duration (GESTimeline *timeline);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_get_auto_transition (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
void ges_timeline_set_auto_transition (GESTimeline * timeline, gboolean auto_transition);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_timeline_get_snapping_distance (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
void ges_timeline_set_snapping_distance (GESTimeline * timeline, GstClockTime snapping_distance);
-GST_EXPORT
+GST_GES_API
GESTimelineElement * ges_timeline_get_element (GESTimeline * timeline, const gchar *name);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_is_empty (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
GESTimelineElement * ges_timeline_paste_element (GESTimeline * timeline,
GESTimelineElement * element, GstClockTime position, gint layer_priority);
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_title_clip_get_type (void);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_text( GESTitleClip * self,
const gchar * text);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_font_desc (GESTitleClip * self,
const gchar * font_desc);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_valignment (GESTitleClip * self,
GESTextVAlign valign);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_halignment (GESTitleClip * self,
GESTextHAlign halign);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_color (GESTitleClip * self,
guint32 color);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_background (GESTitleClip * self,
guint32 background);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_xpos (GESTitleClip * self,
gdouble position);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_ypos (GESTitleClip * self,
gdouble position);
-GST_EXPORT const gchar*
+GST_GES_API const gchar*
ges_title_clip_get_font_desc (GESTitleClip * self);
-GST_EXPORT GESTextVAlign
+GST_GES_API GESTextVAlign
ges_title_clip_get_valignment (GESTitleClip * self);
-GST_EXPORT GESTextHAlign
+GST_GES_API GESTextHAlign
ges_title_clip_get_halignment (GESTitleClip * self);
-GST_EXPORT const guint32
+GST_GES_API const guint32
ges_title_clip_get_text_color (GESTitleClip * self);
-GST_EXPORT const guint32
+GST_GES_API const guint32
ges_title_clip_get_background_color (GESTitleClip * self);
-GST_EXPORT const gdouble
+GST_GES_API const gdouble
ges_title_clip_get_xpos (GESTitleClip * self);
-GST_EXPORT const gdouble
+GST_GES_API const gdouble
ges_title_clip_get_ypos (GESTitleClip * self);
-GST_EXPORT
+GST_GES_API
const gchar* ges_title_clip_get_text (GESTitleClip * self);
-GST_EXPORT
+GST_GES_API
GESTitleClip* ges_title_clip_new (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING - 1];
};
-GST_EXPORT
+GST_GES_API
GType ges_title_source_get_type (void);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_text (GESTitleSource *self,
const gchar *text);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_font_desc (GESTitleSource *self,
const gchar *font_desc);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_halignment (GESTitleSource *self,
GESTextHAlign halign);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_valignment (GESTitleSource *self,
GESTextVAlign valign);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_text_color (GESTitleSource *self,
guint32 color);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_background_color (GESTitleSource *self,
guint32 color);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_xpos (GESTitleSource *self,
gdouble position);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_ypos (GESTitleSource *self,
gdouble position);
-GST_EXPORT
+GST_GES_API
const gchar *ges_title_source_get_text (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
const gchar *ges_title_source_get_font_desc (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
GESTextHAlign ges_title_source_get_halignment (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
GESTextVAlign ges_title_source_get_valignment (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
const guint32 ges_title_source_get_text_color (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
const guint32 ges_title_source_get_background_color (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
const gdouble ges_title_source_get_xpos (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
const gdouble ges_title_source_get_ypos (GESTitleSource *source);
G_END_DECLS
typedef struct _GESTrackElementAssetPrivate GESTrackElementAssetPrivate;
-GST_EXPORT
+GST_GES_API
GType ges_track_element_asset_get_type (void);
struct _GESTrackElementAsset
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
const GESTrackType ges_track_element_asset_get_track_type (GESTrackElementAsset *asset);
-GST_EXPORT
+GST_GES_API
void ges_track_element_asset_set_track_type (GESTrackElementAsset * asset, GESTrackType type);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING_LARGE];
};
-GST_EXPORT
+GST_GES_API
GType ges_track_element_get_type (void);
-GST_EXPORT
+GST_GES_API
GESTrack* ges_track_element_get_track (GESTrackElement * object);
-GST_EXPORT
+GST_GES_API
GESTrackType ges_track_element_get_track_type (GESTrackElement * object);
-GST_EXPORT
+GST_GES_API
void ges_track_element_set_track_type (GESTrackElement * object,
GESTrackType type);
-GST_EXPORT
+GST_GES_API
GstElement * ges_track_element_get_nleobject (GESTrackElement * object);
-GST_EXPORT
+GST_GES_API
GstElement * ges_track_element_get_gnlobject (GESTrackElement * object);
-GST_EXPORT
+GST_GES_API
GstElement * ges_track_element_get_element (GESTrackElement * object);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_element_set_active (GESTrackElement * object,
gboolean active);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_element_is_active (GESTrackElement * object);
-GST_EXPORT GParamSpec **
+GST_GES_API GParamSpec **
ges_track_element_list_children_properties (GESTrackElement *object,
guint *n_properties);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_element_lookup_child (GESTrackElement *object,
const gchar *prop_name,
GstElement **element,
GParamSpec **pspec);
-GST_EXPORT void
+GST_GES_API void
ges_track_element_get_child_property_by_pspec (GESTrackElement * object,
GParamSpec * pspec,
GValue * value);
-GST_EXPORT void
+GST_GES_API void
ges_track_element_get_child_property_valist (GESTrackElement * object,
const gchar * first_property_name,
va_list var_args);
-GST_EXPORT
+GST_GES_API
void ges_track_element_get_child_properties (GESTrackElement *object,
const gchar * first_property_name,
...) G_GNUC_NULL_TERMINATED;
-GST_EXPORT void
+GST_GES_API void
ges_track_element_set_child_property_valist (GESTrackElement * object,
const gchar * first_property_name,
va_list var_args);
-GST_EXPORT void
+GST_GES_API void
ges_track_element_set_child_property_by_pspec (GESTrackElement * object,
GParamSpec * pspec,
GValue * value);
-GST_EXPORT
+GST_GES_API
void ges_track_element_set_child_properties (GESTrackElement * object,
const gchar * first_property_name,
...) G_GNUC_NULL_TERMINATED;
-GST_EXPORT
+GST_GES_API
gboolean ges_track_element_set_child_property (GESTrackElement *object,
const gchar *property_name,
GValue * value);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_element_get_child_property (GESTrackElement *object,
const gchar *property_name,
GValue * value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_track_element_edit (GESTrackElement * object,
GList *layers, GESEditMode mode,
GESEdge edge, guint64 position);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_track_element_set_control_source (GESTrackElement *object,
GstControlSource *source,
const gchar *property_name,
const gchar *binding_type);
-GST_EXPORT GstControlBinding *
+GST_GES_API GstControlBinding *
ges_track_element_get_control_binding (GESTrackElement *object,
const gchar *property_name);
-GST_EXPORT void
+GST_GES_API void
ges_track_element_add_children_props (GESTrackElement *self,
GstElement *element,
const gchar ** wanted_categories,
const gchar **blacklist,
const gchar **whitelist);
-GST_EXPORT GHashTable *
+GST_GES_API GHashTable *
ges_track_element_get_all_control_bindings (GESTrackElement * trackelement);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_track_element_remove_control_binding (GESTrackElement * object,
const gchar * property_name);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
const GstCaps* ges_track_get_caps (GESTrack *track);
-GST_EXPORT
+GST_GES_API
GList* ges_track_get_elements (GESTrack *track);
-GST_EXPORT
+GST_GES_API
const GESTimeline* ges_track_get_timeline (GESTrack *track);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_commit (GESTrack *track);
-GST_EXPORT
+GST_GES_API
void ges_track_set_timeline (GESTrack *track, GESTimeline *timeline);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_add_element (GESTrack *track, GESTrackElement *object);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_remove_element (GESTrack *track, GESTrackElement *object);
-GST_EXPORT
+GST_GES_API
void ges_track_set_create_element_for_gap_func (GESTrack *track, GESCreateElementForGapFunc func);
-GST_EXPORT
+GST_GES_API
void ges_track_set_mixing (GESTrack *track, gboolean mixing);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_get_mixing (GESTrack *track);
-GST_EXPORT
+GST_GES_API
void ges_track_set_restriction_caps (GESTrack *track, const GstCaps *caps);
-GST_EXPORT
+GST_GES_API
void ges_track_update_restriction_caps (GESTrack *track, const GstCaps *caps);
/* standard methods */
-GST_EXPORT
+GST_GES_API
GType ges_track_get_type (void);
-GST_EXPORT
+GST_GES_API
GESTrack* ges_track_new (GESTrackType type, GstCaps * caps);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_transition_clip_get_type (void);
-GST_EXPORT
+GST_GES_API
GESTransitionClip *ges_transition_clip_new (GESVideoStandardTransitionType vtype);
-GST_EXPORT
+GST_GES_API
GESTransitionClip *ges_transition_clip_new_for_nick (char *nick);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_transition_get_type (void);
G_END_DECLS
#define __GES_TYPES_H__
#include <glib.h>
+#include <ges/ges-prelude.h>
G_BEGIN_DECLS
typedef struct _GESUriClipAssetPrivate GESUriClipAssetPrivate;
-GST_EXPORT
+GST_GES_API
GType ges_uri_clip_asset_get_type (void);
struct _GESUriClipAsset
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GstDiscovererInfo *ges_uri_clip_asset_get_info (const GESUriClipAsset * self);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_uri_clip_asset_get_duration (GESUriClipAsset *self);
-GST_EXPORT
+GST_GES_API
gboolean ges_uri_clip_asset_is_image (GESUriClipAsset *self);
-GST_EXPORT
+GST_GES_API
void ges_uri_clip_asset_new (const gchar *uri,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
-GST_EXPORT
+GST_GES_API
GESUriClipAsset* ges_uri_clip_asset_request_sync (const gchar *uri, GError **error);
-GST_EXPORT
+GST_GES_API
void ges_uri_clip_asset_class_set_timeout (GESUriClipAssetClass *klass,
GstClockTime timeout);
-GST_EXPORT
+GST_GES_API
const GList * ges_uri_clip_asset_get_stream_assets (GESUriClipAsset *self);
#define GES_TYPE_URI_SOURCE_ASSET ges_uri_source_asset_get_type()
typedef struct _GESUriSourceAssetPrivate GESUriSourceAssetPrivate;
-GST_EXPORT
+GST_GES_API
GType ges_uri_source_asset_get_type (void);
struct _GESUriSourceAsset
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GstDiscovererStreamInfo * ges_uri_source_asset_get_stream_info (GESUriSourceAsset *asset);
-GST_EXPORT
+GST_GES_API
const gchar * ges_uri_source_asset_get_stream_uri (GESUriSourceAsset *asset);
-GST_EXPORT
+GST_GES_API
const GESUriClipAsset *ges_uri_source_asset_get_filesource_asset (GESUriSourceAsset *asset);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_uri_clip_get_type (void);
-GST_EXPORT void
+GST_GES_API void
ges_uri_clip_set_mute (GESUriClip * self, gboolean mute);
-GST_EXPORT void
+GST_GES_API void
ges_uri_clip_set_is_image (GESUriClip * self,
gboolean is_image);
-GST_EXPORT
+GST_GES_API
gboolean ges_uri_clip_is_muted (GESUriClip * self);
-GST_EXPORT
+GST_GES_API
gboolean ges_uri_clip_is_image (GESUriClip * self);
-GST_EXPORT
+GST_GES_API
const gchar *ges_uri_clip_get_uri (GESUriClip * self);
-GST_EXPORT
+GST_GES_API
GESUriClip* ges_uri_clip_new (const gchar *uri);
G_END_DECLS
G_BEGIN_DECLS
-GST_EXPORT
+GST_GES_API
GESTimeline * ges_timeline_new_audio_video (void);
-GST_EXPORT
+GST_GES_API
gboolean ges_pspec_equal (gconstpointer key_spec_1, gconstpointer key_spec_2);
-GST_EXPORT
+GST_GES_API
guint ges_pspec_hash (gconstpointer key_spec);
} ABI;
};
-GST_EXPORT
+GST_GES_API
GType ges_video_source_get_type (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_video_test_source_get_type (void);
-GST_EXPORT void
+GST_GES_API void
ges_video_test_source_set_pattern(GESVideoTestSource *self,
GESVideoTestPattern pattern);
-GST_EXPORT GESVideoTestPattern
+GST_GES_API GESVideoTestPattern
ges_video_test_source_get_pattern (GESVideoTestSource *source);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_video_track_get_type (void) G_GNUC_CONST;
-GST_EXPORT
+GST_GES_API
GESVideoTrack * ges_video_track_new (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_video_transition_get_type (void);
-GST_EXPORT
+GST_GES_API
GESVideoTransition* ges_video_transition_new (void);
-GST_EXPORT
+GST_GES_API
gboolean ges_video_transition_set_transition_type (GESVideoTransition * self,
GESVideoStandardTransitionType type);
-GST_EXPORT GESVideoStandardTransitionType
+GST_GES_API GESVideoStandardTransitionType
ges_video_transition_get_transition_type (GESVideoTransition * trans);
-GST_EXPORT
+GST_GES_API
void ges_video_transition_set_border (GESVideoTransition * self,
guint value);
-GST_EXPORT
+GST_GES_API
gint ges_video_transition_get_border (GESVideoTransition * self);
-GST_EXPORT
+GST_GES_API
void ges_video_transition_set_inverted (GESVideoTransition * self,
gboolean inverted);
-GST_EXPORT
+GST_GES_API
gboolean ges_video_transition_is_inverted (GESVideoTransition * self);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_video_uri_source_get_type (void);
G_END_DECLS
gpointer _ges_reserved[GES_PADDING];
} GESXmlFormatterClass;
-GST_EXPORT
+GST_GES_API
GType ges_xml_formatter_get_type (void);
G_END_DECLS
#ifndef __GES_H__
#define __GES_H__
+
#include <glib.h>
#include <gst/gst.h>
+#include <ges/ges-prelude.h>
#include <ges/ges-types.h>
#include <ges/ges-enums.h>
G_BEGIN_DECLS
-GST_EXPORT
+GST_GES_API
gboolean ges_init (void);
-GST_EXPORT
+GST_GES_API
gboolean ges_init_check (int *argc, char **argv[], GError ** err);
-GST_EXPORT
+GST_GES_API
void ges_deinit (void);
-GST_EXPORT
+GST_GES_API
void ges_version (guint * major, guint * minor, guint * micro,
guint * nano);
-GST_EXPORT GOptionGroup *
+GST_GES_API GOptionGroup *
ges_init_get_option_group (void);
-GST_EXPORT
+GST_GES_API
gboolean ges_validate_register_action_types (void);
G_END_DECLS
ges_headers = [
'ges-types.h',
'ges.h',
+ 'ges-prelude.h',
'ges-enums.h',
'ges-gerror.h',
'ges-meta-container.h',