diff options
author | Matthew Hoops | 2014-08-18 18:31:38 -0400 |
---|---|---|
committer | Matthew Hoops | 2015-04-11 14:36:37 -0400 |
commit | f342d63431fc0784adc08648f17a6bbad934743f (patch) | |
tree | 1521c7bfe83d7528c05d58e3e2219b8b7d9e83a6 /video/avi_decoder.cpp | |
parent | ad32fb58326657b05731681b1a8945978928ef55 (diff) | |
download | scummvm-rg350-f342d63431fc0784adc08648f17a6bbad934743f.tar.gz scummvm-rg350-f342d63431fc0784adc08648f17a6bbad934743f.tar.bz2 scummvm-rg350-f342d63431fc0784adc08648f17a6bbad934743f.zip |
IMAGE: Allow for choosing dither type
Diffstat (limited to 'video/avi_decoder.cpp')
-rw-r--r-- | video/avi_decoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/avi_decoder.cpp b/video/avi_decoder.cpp index 72892534fb..700975d9a2 100644 --- a/video/avi_decoder.cpp +++ b/video/avi_decoder.cpp @@ -831,12 +831,12 @@ bool AVIDecoder::AVIVideoTrack::hasDirtyPalette() const { } bool AVIDecoder::AVIVideoTrack::canDither() const { - return _videoCodec && _videoCodec->canDither(); + return _videoCodec && _videoCodec->canDither(Image::Codec::kDitherTypeVFW); } void AVIDecoder::AVIVideoTrack::setDither(const byte *palette) { assert(_videoCodec); - _videoCodec->setDither(palette); + _videoCodec->setDither(Image::Codec::kDitherTypeVFW, palette); } AVIDecoder::AVIAudioTrack::AVIAudioTrack(const AVIStreamHeader &streamHeader, const PCMWaveFormat &waveFormat, Audio::Mixer::SoundType soundType) |