diff -r 535d0a02b797 -r c9d64fb26f98 applications/Symbian_MiniGUI_TestApp/yuv.cpp --- a/applications/Symbian_MiniGUI_TestApp/yuv.cpp Thu Mar 25 22:13:48 2010 +0000 +++ b/applications/Symbian_MiniGUI_TestApp/yuv.cpp Fri Mar 26 15:45:51 2010 +0000 @@ -63,10 +63,10 @@ RSurfaceManager::TSurfaceCreationAttributesBuf buf; RSurfaceManager::TSurfaceCreationAttributes& attributes = buf(); - attributes.iSize = TSize(361,341); // w > 0, h > 0 + attributes.iSize = TSize(320, 240); // w > 0, h > 0 attributes.iBuffers = 4; // > 0, <= 4 - attributes.iPixelFormat = EUidPixelFormatYUV_422Planar; // 2bpp - attributes.iStride = 1400; // > 0, width * bpp + attributes.iPixelFormat = EUidPixelFormatYUV_422Interleaved; // 1bpp + attributes.iStride = 320; // > 0, width * bpp attributes.iOffsetToFirstBuffer = 184; // > 0, divisible by alignment attributes.iAlignment = 4; // 1 || 2 || 4 || 8 attributes.iContiguous = EFalse; @@ -102,6 +102,8 @@ win.EndRedraw(); ws.Flush(); User::After(3000000); + + win.RemoveBackgroundSurface(ETrue); win.Close(); grp.Close(); delete gc;