X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fgsttoc.h;h=807c52184e7dc5e2a57db9bf3ef884348d881b23;hb=ce4698487e2650ee9b365d6cf41a254483349bc0;hp=cfe62d0617f0f91e610292afe31a3f47bf531603;hpb=39664da1f07bda3032ea867fc695450b689b9d8f;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst/gsttoc.h b/gst/gsttoc.h index cfe62d0..807c521 100644 --- a/gst/gsttoc.h +++ b/gst/gsttoc.h @@ -30,9 +30,9 @@ G_BEGIN_DECLS -GST_EXPORT GType _gst_toc_type; +GST_API GType _gst_toc_type; -GST_EXPORT GType _gst_toc_entry_type; +GST_API GType _gst_toc_entry_type; #define GST_TYPE_TOC (_gst_toc_type) #define GST_TYPE_TOC_ENTRY (_gst_toc_entry_type) @@ -129,36 +129,36 @@ typedef enum { /* functions to return type structures */ -GST_EXPORT +GST_API GType gst_toc_get_type (void); -GST_EXPORT +GST_API GType gst_toc_entry_get_type (void); /* functions to create, ref and unref/free TOCs */ -GST_EXPORT +GST_API GstToc * gst_toc_new (GstTocScope scope); -GST_EXPORT +GST_API GstTocScope gst_toc_get_scope (const GstToc *toc); -GST_EXPORT +GST_API void gst_toc_set_tags (GstToc *toc, GstTagList * tags); -GST_EXPORT +GST_API void gst_toc_merge_tags (GstToc *toc, GstTagList *tags, GstTagMergeMode mode); -GST_EXPORT +GST_API GstTagList * gst_toc_get_tags (const GstToc *toc); -GST_EXPORT +GST_API void gst_toc_append_entry (GstToc *toc, GstTocEntry *entry); -GST_EXPORT +GST_API GList * gst_toc_get_entries (const GstToc *toc); -GST_EXPORT +GST_API void gst_toc_dump (GstToc *toc); #define gst_toc_ref(toc) (GstToc*)gst_mini_object_ref(GST_MINI_OBJECT_CAST(toc)) @@ -168,7 +168,7 @@ void gst_toc_dump (GstToc *toc); /* functions to create, ref and unref/free TOC entries */ -GST_EXPORT +GST_API GstTocEntry * gst_toc_entry_new (GstTocEntryType type, const gchar *uid); #define gst_toc_entry_ref(entry) (GstTocEntry*)gst_mini_object_ref(GST_MINI_OBJECT_CAST(entry)) @@ -176,56 +176,56 @@ GstTocEntry * gst_toc_entry_new (GstTocEntryType type, const gch #define gst_toc_entry_copy(entry) (GstTocEntry*)gst_mini_object_copy(GST_MINI_OBJECT_CAST(entry)) #define gst_toc_entry_make_writable(entry) (GstTocEntry*)gst_mini_object_make_writable(GST_MINI_OBJECT_CAST(entry)) -GST_EXPORT +GST_API GstTocEntry * gst_toc_find_entry (const GstToc *toc, const gchar *uid); -GST_EXPORT +GST_API GstTocEntryType gst_toc_entry_get_entry_type (const GstTocEntry *entry); -GST_EXPORT +GST_API const gchar * gst_toc_entry_get_uid (const GstTocEntry *entry); -GST_EXPORT +GST_API void gst_toc_entry_append_sub_entry (GstTocEntry *entry, GstTocEntry *subentry); -GST_EXPORT +GST_API GList * gst_toc_entry_get_sub_entries (const GstTocEntry *entry); -GST_EXPORT +GST_API void gst_toc_entry_set_tags (GstTocEntry *entry, GstTagList *tags); -GST_EXPORT +GST_API void gst_toc_entry_merge_tags (GstTocEntry *entry, GstTagList *tags, GstTagMergeMode mode); -GST_EXPORT +GST_API GstTagList * gst_toc_entry_get_tags (const GstTocEntry *entry); -GST_EXPORT +GST_API gboolean gst_toc_entry_is_alternative (const GstTocEntry *entry); -GST_EXPORT +GST_API gboolean gst_toc_entry_is_sequence (const GstTocEntry *entry); -GST_EXPORT +GST_API void gst_toc_entry_set_start_stop_times (GstTocEntry *entry, gint64 start, gint64 stop); -GST_EXPORT +GST_API gboolean gst_toc_entry_get_start_stop_times (const GstTocEntry *entry, gint64 *start, gint64 *stop); -GST_EXPORT +GST_API void gst_toc_entry_set_loop (GstTocEntry *entry, GstTocLoopType loop_type, gint repeat_count); -GST_EXPORT +GST_API gboolean gst_toc_entry_get_loop (const GstTocEntry *entry, GstTocLoopType *loop_type, gint *repeat_count); -GST_EXPORT +GST_API GstToc * gst_toc_entry_get_toc (GstTocEntry *entry); -GST_EXPORT +GST_API GstTocEntry * gst_toc_entry_get_parent (GstTocEntry *entry); -GST_EXPORT +GST_API const gchar * gst_toc_entry_type_get_nick (GstTocEntryType type); #ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC