aboutsummaryrefslogtreecommitdiff
path: root/video/avi_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/avi_decoder.h')
-rw-r--r--video/avi_decoder.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/video/avi_decoder.h b/video/avi_decoder.h
index fffcbfbe16..80c11b1e09 100644
--- a/video/avi_decoder.h
+++ b/video/avi_decoder.h
@@ -74,7 +74,6 @@ protected:
void readNextPacket();
bool seekIntern(const Audio::Timestamp &time);
-private:
struct BitmapInfoHeader {
uint32 size;
uint32 width;
@@ -203,7 +202,7 @@ private:
AVIAudioTrack(const AVIStreamHeader &streamHeader, const PCMWaveFormat &waveFormat, Audio::Mixer::SoundType soundType);
~AVIAudioTrack();
- void queueSound(Common::SeekableReadStream *stream);
+ virtual void queueSound(Common::SeekableReadStream *stream);
Audio::Mixer::SoundType getSoundType() const { return _soundType; }
void skipAudio(const Audio::Timestamp &time, const Audio::Timestamp &frameTime);
void resetStream();
@@ -214,7 +213,6 @@ private:
protected:
Audio::AudioStream *getAudioStream() const;
- private:
// Audio Codecs
enum {
kWaveFormatNone = 0,
@@ -249,6 +247,9 @@ private:
void handleStreamHeader(uint32 size);
uint16 getStreamType(uint32 tag) const { return tag & 0xFFFF; }
byte getStreamIndex(uint32 tag) const;
+
+public:
+ virtual AVIAudioTrack *createAudioTrack(AVIStreamHeader sHeader, PCMWaveFormat wvInfo);
};
} // End of namespace Video