aboutsummaryrefslogtreecommitdiff
path: root/video/qt_decoder.h
diff options
context:
space:
mode:
authorMatthew Hoops2011-02-15 10:45:43 -0500
committerMatthew Hoops2011-02-15 11:01:43 -0500
commitea679567683c8e43255a0636e32ccf7c683c6997 (patch)
treea75028cb23414ce279a54b490119722910204141 /video/qt_decoder.h
parentbd64c5078c3d07bb9cf80ef8e72f151bec8beec4 (diff)
downloadscummvm-rg350-ea679567683c8e43255a0636e32ccf7c683c6997.tar.gz
scummvm-rg350-ea679567683c8e43255a0636e32ccf7c683c6997.tar.bz2
scummvm-rg350-ea679567683c8e43255a0636e32ccf7c683c6997.zip
VIDEO: Add some stubs for QuickTime edit list work
The edit lists are actually read in now. Minor cleanup of streams as well.
Diffstat (limited to 'video/qt_decoder.h')
-rw-r--r--video/qt_decoder.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/video/qt_decoder.h b/video/qt_decoder.h
index 809c8a718d..e876097dfd 100644
--- a/video/qt_decoder.h
+++ b/video/qt_decoder.h
@@ -149,6 +149,12 @@ private:
uint32 id;
};
+ struct EditListEntry {
+ uint32 trackDuration;
+ int32 mediaTime;
+ Common::Rational mediaRate;
+ };
+
struct STSDEntry {
STSDEntry();
~STSDEntry();
@@ -183,7 +189,6 @@ private:
uint32 *chunk_offsets;
int stts_count;
MOVstts *stts_data;
- int edit_count; /* number of 'edit' (elst atom) */
uint32 sample_to_chunk_sz;
MOVstsc *sample_to_chunk;
uint32 sample_size;
@@ -201,6 +206,9 @@ private:
uint32 stsdEntryCount;
STSDEntry *stsdEntries;
+ uint32 editCount;
+ EditListEntry *editList;
+
Common::SeekableReadStream *extradata;
uint32 nb_frames;