mmlibs/mmfw/src/Client/Video/mediaclientvideodisplaybody.cpp
changeset 31 ae0addfe117e
parent 26 c36d67f77f75
child 32 ae690a8c4a18
equal deleted inserted replaced
30:9707f1c07383 31:ae0addfe117e
   943             }
   943             }
   944         }
   944         }
   945     else if (aWindowData.iAutoScaleType == EAutoScaleNone)
   945     else if (aWindowData.iAutoScaleType == EAutoScaleNone)
   946         {
   946         {
   947         // for non-square pixels, reduce one dimension
   947         // for non-square pixels, reduce one dimension
   948         // TBD other option is to enlarge in the other dimension
   948         // XXX other option is to enlarge in the other dimension
   949         if(pixelAspectRatio > 1)
   949         if(pixelAspectRatio > 1)
   950             {
   950             {
   951             inputHeight /= pixelAspectRatio;
   951             inputHeight /= pixelAspectRatio;
   952             }
   952             }
   953         else if(pixelAspectRatio < 1)
   953         else if(pixelAspectRatio < 1)