summaryrefslogtreecommitdiffstats
path: root/gst/qtdemux/qtdemux.h
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2006-02-13 22:04:42 +0000
committerEdward Hervey <bilboed@bilboed.com>2006-02-13 22:04:42 +0000
commit7e2a049670be750218d37fe1b098f6f5afb53911 (patch)
tree27e30085bdd46cfa7319285558065c3af0e5afd4 /gst/qtdemux/qtdemux.h
parent8d38cd443f4edd9554f676860cda7850da7ed246 (diff)
gst/qtdemux/: QtDemux can now work push-based.
Original commit message from CVS: * gst/qtdemux/Makefile.am: * gst/qtdemux/qtdemux.c: (gst_qtdemux_init), (gst_qtdemux_handle_sink_event), (gst_qtdemux_change_state), (extract_initial_length_and_fourcc), (gst_qtdemux_loop_state_header), (gst_qtdemux_loop_state_movie), (gst_qtdemux_loop_header), (next_entry_size), (gst_qtdemux_chain), (qtdemux_sink_activate), (qtdemux_sink_activate_pull), (qtdemux_sink_activate_push), (qtdemux_parse_trak): * gst/qtdemux/qtdemux.h: QtDemux can now work push-based. It still needs some love for seeking.
Diffstat (limited to 'gst/qtdemux/qtdemux.h')
-rw-r--r--gst/qtdemux/qtdemux.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gst/qtdemux/qtdemux.h b/gst/qtdemux/qtdemux.h
index 21584f58..42aa1571 100644
--- a/gst/qtdemux/qtdemux.h
+++ b/gst/qtdemux/qtdemux.h
@@ -22,6 +22,7 @@
#define __GST_QTDEMUX_H__
#include <gst/gst.h>
+#include <gst/base/gstadapter.h>
G_BEGIN_DECLS
@@ -61,6 +62,14 @@ struct _GstQTDemux {
int state;
+ gboolean pullbased;
+
+ /* push based variables */
+ guint neededbytes;
+ guint todrop;
+ GstAdapter *adapter;
+
+ /* offset of the media data (i.e.: Size of header) */
guint64 offset;
GstTagList *tag_list;