[vlc-commits] omxil: Correct the i_line_chroma_div value for OMX_TI_COLOR_FormatYUV420PackedSemiPlanar

Martin Storsjö git at videolan.org
Wed Oct 23 16:09:42 CEST 2013


vlc | branch: master | Martin Storsjö <martin at martin.st> | Wed Oct 23 17:06:14 2013 +0300| [ff49d5e82f99938aa8d93d2b8c2c3c3b275740f9] | committer: Martin Storsjö

omxil: Correct the i_line_chroma_div value for OMX_TI_COLOR_FormatYUV420PackedSemiPlanar

Due to GetOmxVideoFormat only using the first line from the table
that matches the vlc fourcc, this error hasn't had any effect so far.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ff49d5e82f99938aa8d93d2b8c2c3c3b275740f9
---

 modules/codec/omxil/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/omxil/utils.c b/modules/codec/omxil/utils.c
index b6cacbb..e4665c5 100644
--- a/modules/codec/omxil/utils.c
+++ b/modules/codec/omxil/utils.c
@@ -428,7 +428,7 @@ static const struct
     { VLC_CODEC_I420, OMX_COLOR_FormatYUV420PackedPlanar, 3, 1, 2 },
     { VLC_CODEC_NV12, OMX_COLOR_FormatYUV420SemiPlanar, 3, 1, 1 },
     { VLC_CODEC_NV21, OMX_QCOM_COLOR_FormatYVU420SemiPlanar, 3, 1, 1 },
-    { VLC_CODEC_NV12, OMX_TI_COLOR_FormatYUV420PackedSemiPlanar, 3, 1, 2 },
+    { VLC_CODEC_NV12, OMX_TI_COLOR_FormatYUV420PackedSemiPlanar, 3, 1, 1 },
     { VLC_CODEC_NV12, QOMX_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka, 3, 1, 1 },
     { VLC_CODEC_NV12, OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar32m, 3, 1, 1 },
     { VLC_CODEC_YUYV, OMX_COLOR_FormatYCbYCr, 4, 2, 0 },



More information about the vlc-commits mailing list