diff options
author | Chih-Chung Chang <chihchung@google.com> | 2011-09-05 14:49:35 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2011-09-05 14:49:35 +0800 |
commit | 5694fb4b48eef9364473c34f0e013dc4baf576e6 (patch) | |
tree | 945222a1b76e3389c7271c8bac98aa3b7888c903 | |
parent | 4a5d8c671172fbafe9964d2d71137e7f69a26df9 (diff) | |
download | libvideoeditor-5694fb4b48eef9364473c34f0e013dc4baf576e6.tar.gz |
Enable some logs to debug 5195693.
Change-Id: I1c71b6fa6b8dbcbf2a6685be5f24afddab4afc5d
-rwxr-xr-x | lvpp/VideoEditorPreviewController.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lvpp/VideoEditorPreviewController.cpp b/lvpp/VideoEditorPreviewController.cpp index 27c0a0b..3140b46 100755 --- a/lvpp/VideoEditorPreviewController.cpp +++ b/lvpp/VideoEditorPreviewController.cpp @@ -519,7 +519,7 @@ M4OSA_ERR VideoEditorPreviewController::startPreview( // as threadProcess first increments the clip index // and then processes clip in thread loop mCurrentClipNumber = i-1; - LOGV("startPreview:mCurrentClipNumber = %d fromMS=%d",i,fromMS); + LOGD("startPreview:mCurrentClipNumber = %d fromMS=%d",i,fromMS); // Save original value mFirstPreviewClipBeginTime = mClipList[i]->uiBeginCutTime; @@ -1024,13 +1024,13 @@ M4OSA_ERR VideoEditorPreviewController::threadProc(M4OSA_Void* param) { if(pController->mPlayerState == VePlayerIdle) { (pController->mCurrentClipNumber)++; - LOGV("threadProc: playing file index %d total clips %d", + LOGD("threadProc: playing file index %d total clips %d", pController->mCurrentClipNumber, pController->mNumberClipsToPreview); if((M4OSA_UInt32)pController->mCurrentClipNumber >= pController->mNumberClipsToPreview) { - LOGV("All clips previewed"); + LOGD("All clips previewed"); pController->mCurrentPlayedDuration = 0; pController->mCurrentClipDuration = 0; @@ -1040,7 +1040,7 @@ M4OSA_ERR VideoEditorPreviewController::threadProc(M4OSA_Void* param) { pController->mCurrentClipNumber = pController->mStartingClipIndex; - LOGV("Preview looping TRUE, restarting from clip index %d", + LOGD("Preview looping TRUE, restarting from clip index %d", pController->mCurrentClipNumber); // Reset the story board timestamp inside the player @@ -1159,7 +1159,8 @@ void VideoEditorPreviewController::notify( break; case MEDIA_PLAYBACK_COMPLETE: { - LOGV("notify:MEDIA_PLAYBACK_COMPLETE"); + LOGD("notify:MEDIA_PLAYBACK_COMPLETE, mCurrentClipNumber = %d", + pController->mCurrentClipNumber); pController->mPlayerState = VePlayerIdle; //send progress callback with last frame timestamp |