# HG changeset patch # User sesse # Date 1268078047 0 # Node ID 4dfdb57de907a48b31b5f09f26dd4579a38a4969 # Parent ed3b3682cdde53b3a76ec3907c83c0225a48197a Correct QuickTime dpi output. The dpi value for QuickTime codecs is stored as Fixed16 (16.16 fixed-point), not int. Correct the output value accordingly. diff -r ed3b3682cdde -r 4dfdb57de907 loader/qtx/qtxsdk/components.h --- a/loader/qtx/qtxsdk/components.h Mon Mar 08 19:41:57 2010 +0000 +++ b/loader/qtx/qtxsdk/components.h Mon Mar 08 19:54:07 2010 +0000 @@ -641,10 +641,10 @@ printf("=============== ImageDescription at %p ==================\n",xxx); printf("idSize=0x%X fourcc=0x%08X\n",id->idSize,id->cType); printf("ver=%d rev=%d vendor=0x%08X\n",id->version,id->revisionLevel,id->vendor); - printf("tempQ=%d spatQ=%d dim: %d x %d dpi: %d x %d depth: %d\n", + printf("tempQ=%d spatQ=%d dim: %d x %d dpi: %.2f x %.2f depth: %d\n", id->temporalQuality,id->spatialQuality, id->width, id->height, - id->hRes, id->vRes, + id->hRes / 65536.0, id->vRes / 65536.0, id->depth); printf("dataSize=%d frameCount=%d clutID=%d\n",id->dataSize, id->frameCount, id->clutID); printf("name='%.*s'\n",((char*)(&id->name))[0],((char*)(&id->name))+1);