MMFMWK-8395 video-frame: correct copy width when format is NV12_10LE

NV12_10LE one component occupy 10bit or 20bit which is 1.25Byte or 2.5Byte
plane 0 10bit and plane 1 20bit (UV as one component)
copy width should be w = (plane == 0 ? 1:2) * comp_width * 5 / 4;

upstream status: imx specific
Signed-off-by: Haihua Hu <jared.hu@nxp.com>
diff --git a/gst-libs/gst/video/video-frame.c b/gst-libs/gst/video/video-frame.c
index 30a2d85..7d64f3d 100644
--- a/gst-libs/gst/video/video-frame.c
+++ b/gst-libs/gst/video/video-frame.c
@@ -325,6 +325,10 @@
     w = MIN (GST_VIDEO_INFO_PLANE_STRIDE (dinfo, plane),
         GST_VIDEO_INFO_PLANE_STRIDE (sinfo, plane));
 
+  if (GST_VIDEO_FRAME_FORMAT (dest) == GST_VIDEO_FORMAT_NV12_10LE) {
+    w = (plane == 0 ? 1 : 2) * GST_VIDEO_FRAME_COMP_WIDTH (dest,plane) * 5 / 4;
+  }
+
   h = GST_VIDEO_FRAME_COMP_HEIGHT (dest, plane);
 
   ss = GST_VIDEO_INFO_PLANE_STRIDE (sinfo, plane);