vtprotocolplugins/VideoSource/src/cmultiframeprovider.cpp
branchRCL_3
changeset 20 b95d12697049
parent 16 4e9858fa9559
child 23 890b5dd735f8
--- a/vtprotocolplugins/VideoSource/src/cmultiframeprovider.cpp	Wed Jun 09 09:44:39 2010 +0300
+++ b/vtprotocolplugins/VideoSource/src/cmultiframeprovider.cpp	Mon Jun 21 15:43:21 2010 +0300
@@ -630,15 +630,15 @@
     {
     __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() >>"), RThread().Id().operator TUint()));
     if ( iOldBM )
-    	  {
-    	  __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() OLD BM"), RThread().Id().operator TUint()));
-    	  iOldBM = EFalse;
-        iFreeQueue.Append( iOldBitmap );
-    	  }
+        {
+        __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() OLD BM"), RThread().Id().operator TUint()));
+        iOldBM = EFalse;
+        User::LeaveIfError( iFreeQueue.Append( iOldBitmap ) );
+        }
     else
-    	  {
-   	 	  iFreeQueue.Append( iScaled );
-  		  }
+        {
+        User::LeaveIfError( iFreeQueue.Append( iScaled ) );
+        }
     iLoopAo->SetFreeBitmaps( 1 );
     __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() <<"), RThread().Id().operator TUint()));
     }