summaryrefslogtreecommitdiffstats
path: root/gst/wavparse/gstwavparse.h
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2006-04-28 23:09:17 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2006-04-28 23:09:17 +0000
commit16b28a8eea303ed4cf7f158d2f6d4de45a54f666 (patch)
tree0c847001b00272fc3f20040ff2245a537ff8e231 /gst/wavparse/gstwavparse.h
parent9d82e86c0ca6a272ce33c6e50834b925249279a1 (diff)
gst/wavparse/gstwavparse.*: Add push (streaming) mode to wavparse (fixes #337625)
Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_base_init), (gst_wavparse_class_init), (gst_wavparse_dispose), (gst_wavparse_reset), (gst_wavparse_init), (gst_wavparse_create_sourcepad), (gst_wavparse_parse_adtl), (gst_wavparse_parse_cues), (gst_wavparse_parse_file_header), (gst_wavparse_stream_init), (gst_wavparse_perform_seek), (gst_wavparse_peek_chunk_info), (gst_wavparse_peek_chunk), (gst_wavparse_stream_headers), (gst_wavparse_parse_stream_init), (gst_wavparse_send_event), (gst_wavparse_add_src_pad), (gst_wavparse_stream_data), (gst_wavparse_loop), (gst_wavparse_chain), (gst_wavparse_srcpad_event), (gst_wavparse_sink_activate), (gst_wavparse_sink_activate_pull), (gst_wavparse_change_state), (plugin_init): * gst/wavparse/gstwavparse.h: Add push (streaming) mode to wavparse (fixes #337625)
Diffstat (limited to 'gst/wavparse/gstwavparse.h')
-rw-r--r--gst/wavparse/gstwavparse.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gst/wavparse/gstwavparse.h b/gst/wavparse/gstwavparse.h
index 2d140619..a0b27176 100644
--- a/gst/wavparse/gstwavparse.h
+++ b/gst/wavparse/gstwavparse.h
@@ -1,5 +1,6 @@
/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
+ * Copyright (C) <2006> Nokia Corporation, Stefan Kost <stefan.kost@nokia.com>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -25,6 +26,7 @@
#include <gst/gst.h>
#include "gst/riff/riff-ids.h"
#include "gst/riff/riff-read.h"
+#include <gst/base/gstadapter.h>
G_BEGIN_DECLS
@@ -93,9 +95,17 @@ struct _GstWavParse {
/* pending seek */
GstEvent *seek_event;
+ /* For streaming */
+ GstAdapter *adapter;
+ gboolean got_fmt;
+ gboolean streaming;
+
/* configured segment, start/stop expressed in time */
GstSegment segment;
gboolean segment_running;
+
+ /* for late pad configuration */
+ gboolean first;
};
struct _GstWavParseClass {