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
commit49f830d457fbc69dcd9e3e23b44e3d1f5f53499a (patch)
tree2c7b9c10638333d4f350b94a4d17f995ec795a93 /gst/qtdemux/qtdemux.h
parentef7b89f382dc536bae955a250d0dc85762fb4a74 (diff)
downloadgst-plugins-bad-49f830d457fbc69dcd9e3e23b44e3d1f5f53499a.tar.gz
gst-plugins-bad-49f830d457fbc69dcd9e3e23b44e3d1f5f53499a.tar.bz2
gst-plugins-bad-49f830d457fbc69dcd9e3e23b44e3d1f5f53499a.zip
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;