Change preview player code also.

Adapt to 32 bit aligned decoder buffers

Change-Id: I631f7e60b8e424af496f45d0e5e292bf9e8a9dde
diff --git a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
index d862255..c079898 100755
--- a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
+++ b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
@@ -1174,7 +1174,7 @@
 

     mTarget->getBufferYV12(&(postProcessParams.pOutBuffer), &(postProcessParams.outBufferStride));

 

-    err = applyEffectsAndRenderingMode(&postProcessParams);

+    err = applyEffectsAndRenderingMode(&postProcessParams, mOutputVideoWidth, mOutputVideoHeight);

     return err;

 }

 

@@ -1273,7 +1273,7 @@
 

     // In plane

     prepareYUV420ImagePlane(planeIn, videoWidth,

-      videoHeight, (M4VIFI_UInt8 *)inBuffer);

+      videoHeight, (M4VIFI_UInt8 *)inBuffer, videoWidth, videoHeight);

 

     outputBufferWidth = mOutputVideoWidth;

     outputBufferHeight = mOutputVideoHeight;