aboutsummaryrefslogtreecommitdiff
path: root/video/bink_decoder.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2012-09-18 15:54:45 -0400
committerMatthew Hoops2012-09-18 16:50:01 -0400
commit09269fce8c61b8193b25266b681c7849a6ad058d (patch)
treed5bb74ccb845d878a5bf09713c8aaf75bf07aaec /video/bink_decoder.cpp
parent065b996d1551c9fb2ba927dac47a5fb907ac8d8e (diff)
downloadscummvm-rg350-09269fce8c61b8193b25266b681c7849a6ad058d.tar.gz
scummvm-rg350-09269fce8c61b8193b25266b681c7849a6ad058d.tar.bz2
scummvm-rg350-09269fce8c61b8193b25266b681c7849a6ad058d.zip
GRAPHICS: Implement different luminance ranges
Bink and Theora are now much improved
Diffstat (limited to 'video/bink_decoder.cpp')
-rw-r--r--video/bink_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/bink_decoder.cpp b/video/bink_decoder.cpp
index 65f0f6c0af..37e12624b8 100644
--- a/video/bink_decoder.cpp
+++ b/video/bink_decoder.cpp
@@ -348,7 +348,7 @@ void BinkDecoder::BinkVideoTrack::decodePacket(VideoFrame &frame) {
// The width used here is the surface-width, and not the video-width
// to allow for odd-sized videos.
assert(_curPlanes[0] && _curPlanes[1] && _curPlanes[2]);
- YUVToRGBMan.convert420(&_surface, _curPlanes[0], _curPlanes[1], _curPlanes[2],
+ YUVToRGBMan.convert420(&_surface, Graphics::YUVToRGBManager::kScaleITU, _curPlanes[0], _curPlanes[1], _curPlanes[2],
_surfaceWidth, _surfaceHeight, _surfaceWidth, _surfaceWidth >> 1);
// And swap the planes with the reference planes