Add connect calls for SurfaceTexture. Clean PreviewRenderer.

Now connect() is necessary for SurfaceTexture.
Also cleaned unused code in PreviewRenderer.

Change-Id: Ic49df01e79f38a48a8c2cf194d13ee575660c834
diff --git a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
index a17015e..29dd150 100755
--- a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
+++ b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
@@ -747,8 +747,8 @@
     if(mTarget == NULL) {
 
         mTarget = PreviewRenderer::CreatePreviewRenderer(
-            OMX_COLOR_FormatYUV420Planar, surface, outputBufferWidth, outputBufferHeight,
-            outputBufferWidth, outputBufferHeight, 0);
+            surface,
+            outputBufferWidth, outputBufferHeight);
 
         if(mTarget == NULL) {
             LOGE("renderPreviewFrame: cannot create PreviewRenderer");
@@ -813,13 +813,9 @@
 
     // Initialize the renderer
     if(mTarget == NULL) {
-        /*mTarget = new PreviewRenderer(
-            OMX_COLOR_FormatYUV420Planar, surface, mOutputVideoWidth, mOutputVideoHeight,
-            mOutputVideoWidth, mOutputVideoHeight, 0);*/
-
          mTarget = PreviewRenderer::CreatePreviewRenderer(
-            OMX_COLOR_FormatYUV420Planar, surface, mOutputVideoWidth, mOutputVideoHeight,
-            mOutputVideoWidth, mOutputVideoHeight, 0);
+            surface,
+            mOutputVideoWidth, mOutputVideoHeight);
 
         if(mTarget == NULL) {
             LOGE("renderPreviewFrame: cannot create PreviewRenderer");