mmlibs/mmfw/src/Client/Video/mediaclientvideodisplaybody.cpp
changeset 38 4269ca484c7b
parent 33 0267baa9dea9
child 54 b68f3e90dca1
equal deleted inserted replaced
34:31d6e1ae5283 38:4269ca484c7b
   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)