vtprotocolplugins/VideoSource/src/cmultiframeprovider.cpp
branchRCL_3
changeset 16 4e9858fa9559
parent 8 07d1685f0cd4
child 20 b95d12697049
--- a/vtprotocolplugins/VideoSource/src/cmultiframeprovider.cpp	Tue Apr 27 16:40:55 2010 +0300
+++ b/vtprotocolplugins/VideoSource/src/cmultiframeprovider.cpp	Tue May 11 16:15:55 2010 +0300
@@ -579,12 +579,17 @@
         	}
     // Allways inform Decoding problems
     else
-       	{
+        {
         iObserver->NotifyImageHandlingError( aError );
         delete iTempBM;
-       	delete iMask;
-       	iMask = NULL;
-       	iTempBM = NULL;
+        delete iMask;
+        iMask = NULL;
+        iTempBM = NULL;
+        // GIF used when error happen
+        if ( iCount > 1 )
+            {
+            iCount = 1;
+            }
         }
     __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::ConversionFinished() error %d <<"), RThread().Id().operator TUint(), aError));
     }