summaryrefslogtreecommitdiffstats
path: root/libvideoeditor/lvpp
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2011-09-05 14:49:35 +0800
committerChih-Chung Chang <chihchung@google.com>2011-09-05 14:49:35 +0800
commitd94b927cafef95db7de0c89b6ef8f246efc37c6c (patch)
tree189bb51868ed3743e70a1267437552828879fb4c /libvideoeditor/lvpp
parente02eee1a408656be9beaf1b0ba656dd1ee103799 (diff)
downloadframeworks_av-d94b927cafef95db7de0c89b6ef8f246efc37c6c.zip
frameworks_av-d94b927cafef95db7de0c89b6ef8f246efc37c6c.tar.gz
frameworks_av-d94b927cafef95db7de0c89b6ef8f246efc37c6c.tar.bz2
Enable some logs to debug 5195693.
Change-Id: I1c71b6fa6b8dbcbf2a6685be5f24afddab4afc5d
Diffstat (limited to 'libvideoeditor/lvpp')
-rwxr-xr-xlibvideoeditor/lvpp/VideoEditorPreviewController.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
index 27c0a0b..3140b46 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