mmlibs/mmfw/src/Client/Video/mediaclientvideodisplaybody.cpp
changeset 32 ae690a8c4a18
parent 31 ae0addfe117e
child 41 f7bf1ed8db72
equal deleted inserted replaced
31:ae0addfe117e 32:ae690a8c4a18
   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         // XXX other option is to enlarge in the other dimension
   948         // TBD 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)