# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1261032413 -7200 # Node ID 4fbbce2c82baeb7c50c647310a63922263e34431 # Parent ed9695c8bcbe372887f99325c77cd911f41c4d71 Revision: 200949 Kit: 200951 diff -r ed9695c8bcbe -r 4fbbce2c82ba package_definition.xml --- a/package_definition.xml Mon Nov 23 14:47:47 2009 +0200 +++ b/package_definition.xml Thu Dec 17 08:46:53 2009 +0200 @@ -18,10 +18,10 @@ - + - + diff -r ed9695c8bcbe -r 4fbbce2c82ba vtengines/videoteleng/Inc/Media/CVtEngDrawNGA.h --- a/vtengines/videoteleng/Inc/Media/CVtEngDrawNGA.h Mon Nov 23 14:47:47 2009 +0200 +++ b/vtengines/videoteleng/Inc/Media/CVtEngDrawNGA.h Thu Dec 17 08:46:53 2009 +0200 @@ -445,9 +445,11 @@ TSglQue iWaitingBuffers; // buffers waiting to be submitted TBool iSubmitPending; - //configuration + // Configuration TVtEngRenderConfigNGA iConfig; + // Time stamp for surface update + TTimeStamp iTimeStamp; }; #endif // CVTENGDRAWDSA_H diff -r ed9695c8bcbe -r 4fbbce2c82ba vtengines/videoteleng/Src/Media/CVtEngDrawNGA.cpp --- a/vtengines/videoteleng/Src/Media/CVtEngDrawNGA.cpp Mon Nov 23 14:47:47 2009 +0200 +++ b/vtengines/videoteleng/Src/Media/CVtEngDrawNGA.cpp Thu Dec 17 08:46:53 2009 +0200 @@ -426,8 +426,7 @@ { iCallBackTable[surfaceno]->iStatus = KRequestPending; iCallBackTable[surfaceno]->SetActive(); - TTimeStamp timeStamp; - iSurfaceUpdateSession.NotifyWhenDisplayed(iCallBackTable[surfaceno]->iStatus, timeStamp); + iSurfaceUpdateSession.NotifyWhenDisplayed(iCallBackTable[surfaceno]->iStatus, iTimeStamp); iSubmitPending = ETrue; iSurfaceUpdateSession.SubmitUpdate(0, iSurfaceId, surfaceno, NULL); buffer.UnSet(); @@ -761,8 +760,7 @@ __VTPRINT2( DEBUG_MEDIA, "RVD(NGA).DoSurfaceBuffer0Ready, surface buffer %d is in waitingqueue", surfaceno ) iCallBackTable[surfaceno]->iStatus = KRequestPending; iCallBackTable[surfaceno]->SetActive(); - TTimeStamp timeStamp; - iSurfaceUpdateSession.NotifyWhenDisplayed(iCallBackTable[surfaceno]->iStatus, timeStamp); + iSurfaceUpdateSession.NotifyWhenDisplayed(iCallBackTable[surfaceno]->iStatus, iTimeStamp); iSubmitPending = ETrue; iSurfaceUpdateSession.SubmitUpdate(0, iSurfaceId, surfaceno, NULL); iWaitingBuffers.Remove(*buffer); @@ -795,8 +793,7 @@ __VTPRINT2( DEBUG_MEDIA, "RVD(NGA).DoSurfaceBuffer0Ready, surface buffer %d is in waitingqueue", surfaceno ) iCallBackTable[surfaceno]->iStatus = KRequestPending; iCallBackTable[surfaceno]->SetActive(); - TTimeStamp timeStamp; - iSurfaceUpdateSession.NotifyWhenDisplayed(iCallBackTable[surfaceno]->iStatus, timeStamp); + iSurfaceUpdateSession.NotifyWhenDisplayed(iCallBackTable[surfaceno]->iStatus, iTimeStamp); iSubmitPending = ETrue; iSurfaceUpdateSession.SubmitUpdate(0, iSurfaceId, surfaceno, NULL); iWaitingBuffers.Remove(*buffer); diff -r ed9695c8bcbe -r 4fbbce2c82ba vtengines/vtmediatorplugin/data/vtmediatorplugin.rss --- a/vtengines/vtmediatorplugin/data/vtmediatorplugin.rss Mon Nov 23 14:47:47 2009 +0200 +++ b/vtengines/vtmediatorplugin/data/vtmediatorplugin.rss Thu Dec 17 08:46:53 2009 +0200 @@ -21,7 +21,7 @@ // INCLUDES #include -#include +#include // ----------------------------------------------------------------------------- diff -r ed9695c8bcbe -r 4fbbce2c82ba vtuis/videotelui/conf/s60videotelephony.confml Binary file vtuis/videotelui/conf/s60videotelephony.confml has changed diff -r ed9695c8bcbe -r 4fbbce2c82ba vtuis/videotelui/src/CVtUiAppUi.cpp --- a/vtuis/videotelui/src/CVtUiAppUi.cpp Mon Nov 23 14:47:47 2009 +0200 +++ b/vtuis/videotelui/src/CVtUiAppUi.cpp Thu Dec 17 08:46:53 2009 +0200 @@ -1886,6 +1886,18 @@ TInt aCommand ) { __VTPRINTENTER( "VtUi.ProcessCommandL" ) + + // delay mute cmd received during layout change + if ( aCommand == EAknSoftkeyOptions ) + { + if ( iLayoutChg ) + { + iDelayedCmd = EAknSoftkeyOptions; + __VTPRINTEXIT( "VtUi.ProcessCommandL mute delayed due to LayoutChange" ) + return; + } + } + MVtEngCommandHandler& command = Model().CommandHandler(); command.ExecuteL( KVtEngRequestLastRemoteFrame, NULL ); @@ -2186,6 +2198,15 @@ CleanupPushEnableBlindL(); iUiStates->SetDisableBlindSetting( ETrue ); CmdSwapImagesPlacesL(); + + + MVtEngMedia& media = Model().Media(); + if ( VtUiUtility::GetFreezeState( media ) ) + { + TBool isViewFinderInContextPane = IsViewFinderInContextPane(); + iUiStates->SetViewFindersInitialPlaceContextPane( isViewFinderInContextPane ); + } + CleanupStack::PopAndDestroy(); // CleanupPushEnableBlindL break; @@ -4891,7 +4912,14 @@ if ( iDelayedCmd != 0 ) { __VTPRINT2( DEBUG_GEN, "VtUi.DoLayoutChg reexecute the delayed cmd=%d", iDelayedCmd); - HandleCommandL( iDelayedCmd ); + if( iDelayedCmd == EAknSoftkeyOptions ) + { + ProcessCommandL( iDelayedCmd ); + } + else + { + HandleCommandL( iDelayedCmd ); + } iDelayedCmd = 0; } __VTPRINTEXIT( "VtUi.DoLayoutChg" )