summaryrefslogtreecommitdiffstats
path: root/gst/qtdemux/qtdemux.h
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2006-02-14 18:50:13 +0000
committerEdward Hervey <bilboed@bilboed.com>2006-02-14 18:50:13 +0000
commit45dd1af7101131c40b9bd65c3f177f4afb9c3280 (patch)
treef637104714fe03ab0f8dd6f0b040eac848591db1 /gst/qtdemux/qtdemux.h
parentfed4575aefbc321383082bb3cc1854117a98c997 (diff)
gst/qtdemux/qtdemux.*: Make push-based work if mdat atom is before moov atom.
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_init), (gst_qtdemux_handle_src_query), (gst_qtdemux_change_state), (next_entry_size), (gst_qtdemux_chain): * gst/qtdemux/qtdemux.h: Make push-based work if mdat atom is before moov atom. Don't answer duration query. This should be transformed into replying FALSE to seek events.
Diffstat (limited to 'gst/qtdemux/qtdemux.h')
-rw-r--r--gst/qtdemux/qtdemux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/qtdemux/qtdemux.h b/gst/qtdemux/qtdemux.h
index 42aa1571..97b907f9 100644
--- a/gst/qtdemux/qtdemux.h
+++ b/gst/qtdemux/qtdemux.h
@@ -68,9 +68,12 @@ struct _GstQTDemux {
guint neededbytes;
guint todrop;
GstAdapter *adapter;
+ GstBuffer *mdatbuffer;
/* offset of the media data (i.e.: Size of header) */
guint64 offset;
+ /* offset of the mdat atom */
+ guint64 mdatoffset;
GstTagList *tag_list;