diff options
author | Sven Hesse | 2010-08-08 01:07:17 +0000 |
---|---|---|
committer | Sven Hesse | 2010-08-08 01:07:17 +0000 |
commit | dc3a41769976c5d25206f8a8b649ef36a4a1b51f (patch) | |
tree | 175f8da94de457644cd2d159f3ac449f92d8ecad /engines/gob | |
parent | f7c23d28e73af5a5fe290512d933e2f233e7debb (diff) | |
download | scummvm-rg350-dc3a41769976c5d25206f8a8b649ef36a4a1b51f.tar.gz scummvm-rg350-dc3a41769976c5d25206f8a8b649ef36a4a1b51f.tar.bz2 scummvm-rg350-dc3a41769976c5d25206f8a8b649ef36a4a1b51f.zip |
VIDEO: Change the mixer parameter from a reference to a pointer
To match the other VideoDecoder classes with sound support.
svn-id: r51919
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/videoplayer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp index b96e67550c..0d72751c87 100644 --- a/engines/gob/videoplayer.cpp +++ b/engines/gob/videoplayer.cpp @@ -714,13 +714,13 @@ Graphics::CoktelDecoder *VideoPlayer::openVideo(const Common::String &file, Prop Graphics::CoktelDecoder *video = 0; if (properties.type == kVideoTypeIMD) - video = new Graphics::IMDDecoder(*_vm->_mixer, Audio::Mixer::kSFXSoundType); + video = new Graphics::IMDDecoder(_vm->_mixer, Audio::Mixer::kSFXSoundType); else if (properties.type == kVideoTypePreIMD) - video = new Graphics::PreIMDDecoder(properties.width, properties.height, *_vm->_mixer, Audio::Mixer::kSFXSoundType); + video = new Graphics::PreIMDDecoder(properties.width, properties.height, _vm->_mixer, Audio::Mixer::kSFXSoundType); else if (properties.type == kVideoTypeVMD) - video = new Graphics::VMDDecoder(*_vm->_mixer, Audio::Mixer::kSFXSoundType); + video = new Graphics::VMDDecoder(_vm->_mixer, Audio::Mixer::kSFXSoundType); else if (properties.type == kVideoTypeRMD) - video = new Graphics::VMDDecoder(*_vm->_mixer, Audio::Mixer::kSFXSoundType); + video = new Graphics::VMDDecoder(_vm->_mixer, Audio::Mixer::kSFXSoundType); else warning("Couldn't open video \"%s\": Invalid video Type", fileName.c_str()); |