mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
VIDEO: Handle Truemotion dimensions specially
Truemotion uses its own demuxer and seems to follow its own AVI rules. Work around it by coercing the video's dimensions to use the codec's internal dimensions.
This commit is contained in:
@@ -61,7 +61,7 @@ Codec *createBitmapCodec(uint32 tag, int width, int height, int bitsPerPixel) {
|
||||
#ifdef IMAGE_CODECS_TRUEMOTION1_H
|
||||
case MKTAG('D','U','C','K'):
|
||||
case MKTAG('d','u','c','k'):
|
||||
return new TrueMotion1Decoder(width, height);
|
||||
return new TrueMotion1Decoder();
|
||||
#endif
|
||||
#ifdef USE_MPEG2
|
||||
case MKTAG('m','p','g','2'):
|
||||
|
||||
Reference in New Issue
Block a user