diff options
author | Filippos Karapetis | 2009-02-15 13:29:48 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-02-15 13:29:48 +0000 |
commit | 781d7da6b1f0ff9ad7dd4b28b51ed1e3064d222b (patch) | |
tree | 91569e4d8abee185ba91875718afee94dc20a0f4 /graphics | |
parent | 47a1cd754586a8f61381db7ac7147987bbaa27dc (diff) | |
download | scummvm-rg350-781d7da6b1f0ff9ad7dd4b28b51ed1e3064d222b.tar.gz scummvm-rg350-781d7da6b1f0ff9ad7dd4b28b51ed1e3064d222b.tar.bz2 scummvm-rg350-781d7da6b1f0ff9ad7dd4b28b51ed1e3064d222b.zip |
Applied my patch for the BS1/2 video player
- Support for the MPEG2 videos in BS1/2 has been dropped. The MPEG2 videos were lossy, and support for them complicated the code a lot.
- Support for the non-existing enhanced MPEG cutscene packs for BS1 has been dropped. As a consequence, the credits player and the splitted audio stream players used for these packs has been removed
- The original Smacker videos for both games are now supported, using our Smacker player (which is based off publically available specs and FFMPEG)
- The animations now use the common video player code. Both the Smacker videos and our DXA video packs are supported
svn-id: r38236
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/video/video_player.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/video/video_player.h b/graphics/video/video_player.h index 3073538cab..2fe90210cd 100644 --- a/graphics/video/video_player.h +++ b/graphics/video/video_player.h @@ -141,6 +141,12 @@ public: */ virtual bool decodeNextFrame() = 0; + /** + * Used to read the sound header from DXA files. It's not pretty, + * but it's slightly better than exposing _fileStream + */ + uint32 readSoundHeader() { return _fileStream->readUint32BE(); } + protected: struct { uint32 width; |