--- 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));
}