diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2013-09-19 12:31:13 +0200 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2013-09-19 12:31:13 +0200 |
commit | 63f3a12981d4257915f0c1651ab409a08a1c66f8 (patch) | |
tree | aede32630d47ab14da0fb9ca006a363ae3407dc3 /gst/gstcontext.h | |
parent | 63f38155df9cb281e4d48dbc14389e66446436f2 (diff) |
Imported Upstream version 1.1.90upstream/1.1.90
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 |