summaryrefslogtreecommitdiff
path: root/gst/gstevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstevent.h')
-rw-r--r--gst/gstevent.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/gst/gstevent.h b/gst/gstevent.h
index fc965198d4..074b80dc6a 100644
--- a/gst/gstevent.h
+++ b/gst/gstevent.h
@@ -375,6 +375,17 @@ typedef enum {
} GstQOSType;
/**
+ * GstStreamConfigFlags:
+ * @GST_STREAM_CONFIG_FLAG_NONE: no flags set
+ *
+ * GstStreamConfigFlags are flags passed with the stream config event, see
+ * gst_event_new_stream_config().
+ */
+typedef enum {
+ GST_STREAM_CONFIG_FLAG_NONE = 0
+} GstStreamConfigFlags;
+
+/**
* GstEvent:
* @mini_object: the parent structure
* @type: the #GstEventType of the event
@@ -483,6 +494,23 @@ GstEvent * gst_event_new_eos (void) G_GNUC_MALLOC;
GstEvent * gst_event_new_caps (GstCaps *caps) G_GNUC_MALLOC;
void gst_event_parse_caps (GstEvent *event, GstCaps **caps);
+/* Stream config */
+GstEvent * gst_event_new_stream_config (GstStreamConfigFlags flags) G_GNUC_MALLOC;
+
+void gst_event_parse_stream_config (GstEvent * event, GstStreamConfigFlags * flags);
+
+
+void gst_event_set_stream_config_codec_data (GstEvent * event, GstBuffer * buf);
+
+void gst_event_parse_stream_config_codec_data (GstEvent * event, GstBuffer ** buf);
+
+
+void gst_event_add_stream_config_header (GstEvent * event, GstBuffer * buf);
+
+guint gst_event_get_n_stream_config_headers (GstEvent * event);
+
+void gst_event_parse_nth_stream_config_header (GstEvent * event, guint index, GstBuffer ** buf);
+
/* segment event */
GstEvent* gst_event_new_segment (const GstSegment *segment) G_GNUC_MALLOC;
void gst_event_parse_segment (GstEvent *event, const GstSegment **segment);