Fix issue 3369917 :Audio skips at clip edit points
Change-Id: Ibfdcf7511efe054cd41bc36690696c6eddd2e500
diff --git a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
index 5128a41..744d410 100755
--- a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
+++ b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
@@ -1160,12 +1160,11 @@
break;
case 0xAAAAAAAA:
LOGV("VIDEO PLAYBACK ALMOST over, prepare next player");
- pController->mPrepareReqest = M4OSA_TRUE;
// Select next player and prepare it
// If there is a clip after this one
if ((pController->mCurrentClipNumber+1) <
pController->mNumberClipsToPreview) {
-
+ pController->mPrepareReqest = M4OSA_TRUE;
pController->mCurrentPlayer++;
if (pController->mCurrentPlayer >= NBPLAYER_INSTANCES) {
pController->mCurrentPlayer = 0;