Fix for issue : 3439708 Last frame is missing effect

Change-Id: I533695f4154d4ebce4e8f1ff39a622ca4fd62430
diff --git a/libvideoeditor/lvpp/VideoEditorPreviewController.h b/libvideoeditor/lvpp/VideoEditorPreviewController.h
index 2a2a665..be40c7c 100755
--- a/libvideoeditor/lvpp/VideoEditorPreviewController.h
+++ b/libvideoeditor/lvpp/VideoEditorPreviewController.h
@@ -51,6 +51,10 @@
     VePlayerAutoStop

 } VePlayerState;

 

+typedef enum {

+    OVERLAY_UPDATE = 0,

+    OVERLAY_CLEAR

+} OverlayState;

 

 // Callback mechanism from PreviewController to Jni  */

 typedef void (*jni_progress_callback_fct)(void* cookie, M4OSA_UInt32 msgType, void *argc);

@@ -117,6 +121,7 @@
     M4OSA_UInt32 mFirstPreviewClipBeginTime;

     M4OSA_UInt32 mLastPreviewClipEndTime;

     M4OSA_UInt32 mVideoStoryBoardTimeMsUptoFirstPreviewClip;

+    OverlayState mOverlayState;

 

     M4xVSS_MediaRendering mRenderingMode;

     uint32_t mOutputVideoWidth;