vtprotocolplugins/VideoSource/src/cmultiframeprovider.cpp
branchRCL_3
changeset 20 b95d12697049
parent 16 4e9858fa9559
child 23 890b5dd735f8
equal deleted inserted replaced
18:e1a893011fac 20:b95d12697049
   628 //
   628 //
   629 void CMultiframeProvider::AddBitmapToFreeQueue()
   629 void CMultiframeProvider::AddBitmapToFreeQueue()
   630     {
   630     {
   631     __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() >>"), RThread().Id().operator TUint()));
   631     __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() >>"), RThread().Id().operator TUint()));
   632     if ( iOldBM )
   632     if ( iOldBM )
   633     	  {
   633         {
   634     	  __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() OLD BM"), RThread().Id().operator TUint()));
   634         __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() OLD BM"), RThread().Id().operator TUint()));
   635     	  iOldBM = EFalse;
   635         iOldBM = EFalse;
   636         iFreeQueue.Append( iOldBitmap );
   636         User::LeaveIfError( iFreeQueue.Append( iOldBitmap ) );
   637     	  }
   637         }
   638     else
   638     else
   639     	  {
   639         {
   640    	 	  iFreeQueue.Append( iScaled );
   640         User::LeaveIfError( iFreeQueue.Append( iScaled ) );
   641   		  }
   641         }
   642     iLoopAo->SetFreeBitmaps( 1 );
   642     iLoopAo->SetFreeBitmaps( 1 );
   643     __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() <<"), RThread().Id().operator TUint()));
   643     __IF_DEBUG(Print(_L("VideoSource[%d]: CMultiframeProvider::AddBitmapToFreeQueue() <<"), RThread().Id().operator TUint()));
   644     }
   644     }
   645     
   645     
   646 // -----------------------------------------------------------------------------
   646 // -----------------------------------------------------------------------------