javauis/mmapi_akn/baseline/src/cmmavideourlplayerlivestreamdelegate.cpp
branchRCL_3
changeset 77 7cee158cb8cd
parent 71 d5e927d5853b
child 83 26b2b12093af
--- a/javauis/mmapi_akn/baseline/src/cmmavideourlplayerlivestreamdelegate.cpp	Tue Sep 14 21:06:50 2010 +0300
+++ b/javauis/mmapi_akn/baseline/src/cmmavideourlplayerlivestreamdelegate.cpp	Wed Sep 15 12:05:25 2010 +0300
@@ -99,6 +99,9 @@
         // Call stop instead of Pause as per the suggestions from helix
         // Pause has no meaning for live streaming
         iPlayer.iController.Stop();
+#ifdef RD_JAVA_NGA_ENABLED
+        iPlayer.FreeClipRectForUI();
+#endif
     }
     DEBUG("MMA:CMMAVideoUrlPlayer: Live stream: StopL - ");
 }
@@ -153,6 +156,9 @@
             DEBUG("MMA:CMMAVideoUrlPlayer: Live stream: KMMFEventCategoryVideoLoadingComplete ASW Stop");
             // calling PrepareDisplay() in the nick of time as this takes over the control of window and 
             // any UI widget can't be drawn after this call at the prescribed area for video display.
+#ifdef RD_JAVA_NGA_ENABLED
+			iPlayer.GetClipRectFromUI();
+#endif
             iPlayer.PrepareDisplay();
             iActiveSchedulerWait->AsyncStop();
         }