Increase output buffers for TI encoder component from 4 to 8
bug 2247143
diff --git a/omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h b/omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h
index a4f3b9d..05c3acb 100644
--- a/omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h
+++ b/omx/video/src/openmax_il/video_encode/inc/OMX_VideoEnc_Utils.h
@@ -69,11 +69,11 @@
 #include <utils/Log.h>
 
 /* this is the max of VIDENC_MAX_NUM_OF_IN_BUFFERS and VIDENC_MAX_NUM_OF_OUT_BUFFERS */
-#define VIDENC_MAX_NUM_OF_BUFFERS     5
+#define VIDENC_MAX_NUM_OF_BUFFERS     8
 #define VIDENC_MAX_NUM_OF_IN_BUFFERS  5
-#define VIDENC_MAX_NUM_OF_OUT_BUFFERS 4 
+#define VIDENC_MAX_NUM_OF_OUT_BUFFERS 8
 #define VIDENC_NUM_OF_IN_BUFFERS  4
-#define VIDENC_NUM_OF_OUT_BUFFERS 4 
+#define VIDENC_NUM_OF_OUT_BUFFERS 8
 #define VIDENC_NUM_OF_PORTS 2
 
 
diff --git a/omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c b/omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c
index 01741ab..826ebd8 100644
--- a/omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c
+++ b/omx/video/src/openmax_il/video_encode/src/OMX_VideoEnc_Utils.c
@@ -4077,7 +4077,7 @@
                                     pCompPort->format.video.nFrameHeight / 2;
         }
         pCompPort->nBufferSize += 256;
-        OMX_ERROR5(pCompPrivate->dbg, "*The output buffer size is %lu. WIDTH=%lu HEIGHT=%lu FORMAT %d\n", pCompPort->nBufferSize, pCompPort->format.video.nFrameWidth, pCompPort->format.video.nFrameHeight, pCompPort->format.video.eCompressionFormat);
+        OMX_ERROR5(pCompPrivate->dbg, "*The output buffer size is %lu and number of buffer is %lu. WIDTH=%lu HEIGHT=%lu FORMAT %d\n", pCompPort->nBufferSize, pCompPort->nBufferCountActual, pCompPort->format.video.nFrameWidth, pCompPort->format.video.nFrameHeight, pCompPort->format.video.eCompressionFormat);
     }
 }