camcordermmfplugin/mediarecorder/Src/CCMRMDFVideoRecorder.cpp
changeset 2 c7e61a0077eb
parent 1 2d3e1993fb02
child 8 6bc4220d7f67
equal deleted inserted replaced
1:2d3e1993fb02 2:c7e61a0077eb
  3477     if (iNumberOfVideoOutputBuffers > 0)
  3477     if (iNumberOfVideoOutputBuffers > 0)
  3478         {
  3478         {
  3479         iOutputVideoBuffer = iVideoOutputBufferInputQue.First();
  3479         iOutputVideoBuffer = iVideoOutputBufferInputQue.First();
  3480 
  3480 
  3481         // Remove the picture from the list
  3481         // Remove the picture from the list
  3482         iOutputVideoBuffer->iLink.Deque();
  3482         if ( iOutputVideoBuffer != NULL )
  3483         iNumberOfVideoOutputBuffers--;
  3483             {
       
  3484             iOutputVideoBuffer->iLink.Deque();
       
  3485             iNumberOfVideoOutputBuffers--;
       
  3486             }
  3484         // leave restricted area
  3487         // leave restricted area
  3485         iMutexObj.Signal();
  3488         iMutexObj.Signal();
  3486         }
  3489         }
  3487     else
  3490     else
  3488         {
  3491         {