diff options
Diffstat (limited to 'gst/gstcontext.h')
-rw-r--r-- | gst/gstcontext.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gst/gstcontext.h b/gst/gstcontext.h index 7f4a565..9dd0914 100644 --- a/gst/gstcontext.h +++ b/gst/gstcontext.h @@ -1,6 +1,7 @@ /* GStreamer * Copyright (C) 2013 Collabora Ltd. * Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> + * Copyright (C) 2013 Sebastian Dröge <slomo@circular-chaos.org> * * gstcontext.h: Header for GstContext subsystem * @@ -143,10 +144,15 @@ gst_context_replace (GstContext **old_context, GstContext *new_context) return gst_mini_object_replace ((GstMiniObject **) old_context, (GstMiniObject *) new_context); } -GstContext * gst_context_new (void) G_GNUC_MALLOC; +GstContext * gst_context_new (const gchar * context_type, + gboolean persistent) G_GNUC_MALLOC; -const GstStructure * gst_context_get_structure (GstContext *context); -GstStructure * gst_context_writable_structure (GstContext *context); +const gchar * gst_context_get_context_type (const GstContext * context); +gboolean gst_context_has_context_type (const GstContext * context, const gchar * context_type); +const GstStructure * gst_context_get_structure (const GstContext * context); +GstStructure * gst_context_writable_structure (GstContext * context); + +gboolean gst_context_is_persistent (const GstContext * context); G_END_DECLS |