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
This commit is contained in:
Filippos Karapetis 2009-02-15 13:29:48 +00:00
parent 47a1cd7545
commit 781d7da6b1
12 changed files with 196 additions and 1315 deletions

View file

@ -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;