[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-datatype-cvs
Subject: [Datatype-cvs]
From: sgrosdes () helixcommunity ! org
Date: 2008-11-27 18:22:40
Message-ID: 200811271831.mARIVJGt011270 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/datatype/mdf/video/renderer
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv28267/video/renderer
Modified Files:
Tag: hxclient_2_2_1_cayennes
mdfvideoadapter.cpp
Log Message:
ÐÏࡱ
Index: mdfvideoadapter.cpp
===================================================================
RCS file: /cvsroot/datatype/mdf/video/renderer/mdfvideoadapter.cpp,v
retrieving revision 1.3.2.78.2.11
retrieving revision 1.3.2.78.2.12
diff -u -d -r1.3.2.78.2.11 -r1.3.2.78.2.12
--- mdfvideoadapter.cpp 12 Nov 2008 19:49:36 -0000 1.3.2.78.2.11
+++ mdfvideoadapter.cpp 27 Nov 2008 18:22:38 -0000 1.3.2.78.2.12
@@ -190,6 +190,7 @@
m_CropRect.right = 0;
m_CropRect.bottom = 0;
+ m_bNeedToChangeParams = FALSE;
MDFVIDEOLOG_LEAVEFN( "CMdfVideoAdapter" );
}
@@ -583,6 +584,20 @@
m_pDevVideoClient->Resume();
m_bIsPaused = FALSE;
m_DevVidInitialized = EInitializedSuccess;
+
+ if (m_bNeedToChangeParams)
+ {
+ m_windowRect = TRect(0,0,0,0);
+ m_clipRect = TRect(0,0,0,0);
+
+ HXxRect tempWinRect;
+ HXxRect tempClipRect;
+ (SymbianGlobalVideoParameters::Instance())->GetWindowParameters(tempWinRect, tempClipRect);
+ SetWindowParameters(tempWinRect, tempClipRect);
+
+ m_bNeedToChangeParams = FALSE;
+ }
+
MDFVIDEOLOG_LEAVEFN2( "VideoResume -- Sucess" );
}
@@ -908,6 +923,7 @@
m_DevVidInitialized = EInitializedResourceLost;
// DevVideo is paused by the server session
m_bIsPaused = TRUE;
+ m_bNeedToChangeParams = TRUE; //Will update parameters in VideoResume()
ReportError(KErrMMVideoDevice, HXLOG_INFO, HXR_DEVVIDEO_RESOURCE_LOST);
MDFVIDEOLOG_LEAVEFN2( "MmvroResourcesLost" );
_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic