photosgallery/viewframework/tvout/src/glxhdmisurfaceupdater.cpp
branchRCL_3
changeset 47 f9e827349359
parent 35 420f6808bf21
child 57 ea65f74e6de4
--- a/photosgallery/viewframework/tvout/src/glxhdmisurfaceupdater.cpp	Wed Jun 09 09:41:51 2010 +0300
+++ b/photosgallery/viewframework/tvout/src/glxhdmisurfaceupdater.cpp	Mon Jun 21 15:40:32 2010 +0300
@@ -268,7 +268,15 @@
     else
         {
         ReleaseContent();
-        }
+		if (iNextImagePath)
+			{
+			delete iNextImagePath;
+			iNextImagePath = NULL;
+			}
+		// Ongoing decoding is cancelled if any,reset the decoding flags. 
+		iDecodingNext = EFalse;
+		iDecodingCurrent = EFalse;
+		}
     // Initiate the HDMI by assigning the necessary values
     InitiateHdmiL(aFsBitmap, aImageFile, aNextImageFile);
     //Cancel the zoom timers if any