camerauis/cameraxui/cxui/src/cxuivideoprecaptureview.cpp
changeset 40 2922f70fca82
parent 39 c5025ea871a1
child 41 67457b2ffb33
equal deleted inserted replaced
39:c5025ea871a1 40:2922f70fca82
   573         if (mDocumentLoader){
   573         if (mDocumentLoader){
   574             mDocumentLoader->load(VIDEO_1ST_XML, VIDEO_PRE_CAPTURE_RECORDING);
   574             mDocumentLoader->load(VIDEO_1ST_XML, VIDEO_PRE_CAPTURE_RECORDING);
   575         }
   575         }
   576         mElapsedTimer.start(CXUI_ELAPSED_TIME_TIMEOUT);
   576         mElapsedTimer.start(CXUI_ELAPSED_TIME_TIMEOUT);
   577         disableFeedback();
   577         disableFeedback();
   578         if (mRecordingAnimation && mRecordingIcon) {
   578 
   579             mRecordingAnimation->start();
   579         // commented out the activation of the recording animation because
   580         }
   580         // it is causing issues when using SW rendering
       
   581         //if (mRecordingAnimation && mRecordingIcon) {
       
   582         //  mRecordingAnimation->start();
       
   583         //}
       
   584 
   581         break;
   585         break;
   582     case CxeVideoCaptureControl::Paused:
   586     case CxeVideoCaptureControl::Paused:
   583         mElapsedTimer.stop();
   587         mElapsedTimer.stop();
   584         if (mDocumentLoader){
   588         if (mDocumentLoader){
   585             mDocumentLoader->load(VIDEO_1ST_XML, VIDEO_PRE_CAPTURE_PAUSED);
   589             mDocumentLoader->load(VIDEO_1ST_XML, VIDEO_PRE_CAPTURE_PAUSED);
   591     case CxeVideoCaptureControl::Stopping:
   595     case CxeVideoCaptureControl::Stopping:
   592         if (mDocumentLoader){
   596         if (mDocumentLoader){
   593             mDocumentLoader->load(VIDEO_1ST_XML, VIDEO_PRE_CAPTURE_PAUSED);
   597             mDocumentLoader->load(VIDEO_1ST_XML, VIDEO_PRE_CAPTURE_PAUSED);
   594         }
   598         }
   595 
   599 
   596         if (mRecordingAnimation && mRecordingIcon) {
   600         // commented out the stopping of the recording animation since the activation
   597             mRecordingAnimation->stop();
   601         // is commented out also couple lines earlier
   598         }
   602         //if (mRecordingAnimation && mRecordingIcon) {
       
   603         //    mRecordingAnimation->stop();
       
   604         //}
       
   605 
   599         enableFeedback();
   606         enableFeedback();
   600 
   607 
   601         mElapsedTimer.stop();
   608         mElapsedTimer.stop();
   602         hideControls();
   609         hideControls();
   603 
   610