X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fgstcontext.h;h=f55e84c3d5b6082e4a61d51fb0e8078c83fb274b;hb=cc6342d853f4252c5d5cf09fff9d3379ad467fbc;hp=d8a126c94fa177e66f903fbad65a4a8624e0328d;hpb=a837ff6581ba16180e89352a753296cd74a85a72;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst/gstcontext.h b/gst/gstcontext.h index d8a126c..f55e84c 100644 --- a/gst/gstcontext.h +++ b/gst/gstcontext.h @@ -33,7 +33,7 @@ typedef struct _GstContext GstContext; #include #include -GST_EXPORT GType _gst_context_type; +GST_API GType _gst_context_type; #define GST_TYPE_CONTEXT (_gst_context_type) #define GST_IS_CONTEXT(obj) (GST_IS_MINI_OBJECT_TYPE (obj, GST_TYPE_CONTEXT)) @@ -42,6 +42,7 @@ GST_EXPORT GType _gst_context_type; +GST_API GType gst_context_get_type (void); @@ -132,14 +133,22 @@ gst_context_replace (GstContext **old_context, GstContext *new_context) return gst_mini_object_replace ((GstMiniObject **) old_context, (GstMiniObject *) new_context); } +GST_API GstContext * gst_context_new (const gchar * context_type, gboolean persistent) G_GNUC_MALLOC; - +GST_API const gchar * gst_context_get_context_type (const GstContext * context); + +GST_API gboolean gst_context_has_context_type (const GstContext * context, const gchar * context_type); + +GST_API const GstStructure * gst_context_get_structure (const GstContext * context); + +GST_API GstStructure * gst_context_writable_structure (GstContext * context); +GST_API gboolean gst_context_is_persistent (const GstContext * context); #ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC