From d94b927cafef95db7de0c89b6ef8f246efc37c6c Mon Sep 17 00:00:00 2001 From: Chih-Chung Chang Date: Mon, 5 Sep 2011 14:49:35 +0800 Subject: [PATCH] Enable some logs to debug 5195693. Change-Id: I1c71b6fa6b8dbcbf2a6685be5f24afddab4afc5d --- libvideoeditor/lvpp/VideoEditorPreviewController.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp index 27c0a0bb9e..3140b46df6 100755 --- a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp +++ b/libvideoeditor/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 -- 2.11.0