Fix Issue Crash during Export Issue 3414805 , and Preview smoothning for 720p Clips

Change-Id: I5a90fc350a33c1eca9b4ec682b68b80913578341
diff --git a/libvideoeditor/lvpp/PreviewRenderer.cpp b/libvideoeditor/lvpp/PreviewRenderer.cpp
index 0f43043..c2b6fa9 100755
--- a/libvideoeditor/lvpp/PreviewRenderer.cpp
+++ b/libvideoeditor/lvpp/PreviewRenderer.cpp
@@ -78,7 +78,7 @@
             GRALLOC_USAGE_SW_READ_NEVER | GRALLOC_USAGE_SW_WRITE_OFTEN

             | GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_EXTERNAL_DISP));

 

-    CHECK_EQ(0, native_window_set_buffer_count(mSurface.get(), 2));

+    CHECK_EQ(0, native_window_set_buffer_count(mSurface.get(), 3));

 

     // Width must be multiple of 32???

     CHECK_EQ(0, native_window_set_buffers_geometry(