mm-video-v4l2: Add capabilties to extradata port

Extradata port should differ from the output port only
in buffer count and size, all other capalities like width,
height should be same as output port. Made changes for
the same.

CRs-Fixed: 2140136
Change-Id: I96eab880de53f89346dde63b3f77bc3c48ca20aa
diff --git a/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp b/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp
index 29681ab..6e4739e 100755
--- a/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp
+++ b/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp
@@ -9022,6 +9022,17 @@
         portDefn->nBufferCountMin = MIN_NUM_INPUT_OUTPUT_EXTRADATA_BUFFERS;
         portDefn->nBufferCountActual = MIN_NUM_INPUT_OUTPUT_EXTRADATA_BUFFERS;
         portDefn->eDir =  OMX_DirOutput;
+        portDefn->format.video.nFrameHeight =  drv_ctx.video_resolution.frame_height;
+        portDefn->format.video.nFrameWidth  =  drv_ctx.video_resolution.frame_width;
+        portDefn->format.video.nStride  = drv_ctx.video_resolution.stride;
+        portDefn->format.video.nSliceHeight = drv_ctx.video_resolution.scan_lines;
+        portDefn->format.video.eCompressionFormat = OMX_VIDEO_CodingUnused;
+        portDefn->format.video.eColorFormat = OMX_COLOR_FormatUnused;
+        DEBUG_PRINT_LOW(" get_parameter: Port idx %d nBufSize %u nBufCnt %u",
+                (int)portDefn->nPortIndex,
+                (unsigned int)portDefn->nBufferSize,
+                (unsigned int)portDefn->nBufferCountActual);
+        return eRet;
     } else {
         portDefn->eDir = OMX_DirMax;
         DEBUG_PRINT_LOW(" get_parameter: Bad Port idx %d",