From 781d7da6b1f0ff9ad7dd4b28b51ed1e3064d222b Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 15 Feb 2009 13:29:48 +0000 Subject: 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 --- graphics/video/video_player.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'graphics/video') 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; -- cgit v1.2.3