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:
1 parent
53332f8ab8
commit
5891ef4d89
5 files changed
+72
-9
No files matched your search
@@ -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