aboutsummaryrefslogtreecommitdiff
path: root/video/avi_decoder.h
diff options
context:
space:
mode:
authorMatthew Hoops2014-01-09 21:27:52 -0500
committerMatthew Hoops2014-01-11 18:43:42 -0500
commitd2e31c8d67417d033b89cabc834cf3a1c363799c (patch)
tree923958cb7a5a344204409e6d1d7095628a96ffd8 /video/avi_decoder.h
parentda604b530b37ad1908644e97b816ae34118bd7c1 (diff)
downloadscummvm-rg350-d2e31c8d67417d033b89cabc834cf3a1c363799c.tar.gz
scummvm-rg350-d2e31c8d67417d033b89cabc834cf3a1c363799c.tar.bz2
scummvm-rg350-d2e31c8d67417d033b89cabc834cf3a1c363799c.zip
VIDEO: Improve support for multiple AVI audio tracks
Diffstat (limited to 'video/avi_decoder.h')
-rw-r--r--video/avi_decoder.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/video/avi_decoder.h b/video/avi_decoder.h
index 882cce30de..811f7f82f7 100644
--- a/video/avi_decoder.h
+++ b/video/avi_decoder.h
@@ -72,8 +72,11 @@ public:
bool isSeekable() const;
protected:
- void readNextPacket();
- bool seekIntern(const Audio::Timestamp &time);
+ // VideoDecoder API
+ void readNextPacket();
+ bool seekIntern(const Audio::Timestamp &time);
+ bool supportsAudioTrackSwitching() const { return true; }
+ AudioTrack *getAudioTrack(int index);
struct BitmapInfoHeader {
uint32 size;