[vlc-commits] fourcc: fix VLC_CODEC_YUV_PACKED usage in the format descriptions

Steve Lhomme git at videolan.org
Mon Dec 23 09:08:41 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Dec 23 09:07:06 2019 +0100| [97555c4059da1067c0de217745583dd295c7ec79] | committer: Steve Lhomme

fourcc: fix VLC_CODEC_YUV_PACKED usage in the format descriptions

We cannot expand it if we use it literally as it may be too big. Also the name
doesn't imply it's only for packed on 16 bits.

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

 src/misc/fourcc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index d916008b36..c7855dfb17 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -786,7 +786,8 @@ static const struct
         VLC_CODEC_YUVA_444_10B },              PLANAR_16(4, 1, 1, 10) },
     { { VLC_CODEC_P010 },                      SEMIPLANAR(2, 2, 2, 10) },
 
-    { { VLC_CODEC_YUV_PACKED },                PACKED_FMT(2, 16) },
+    { { VLC_CODEC_YUYV, VLC_CODEC_YVYU,
+        VLC_CODEC_UYVY, VLC_CODEC_VYUY },      PACKED_FMT(2, 16) },
     { { VLC_CODEC_RGB8, VLC_CODEC_GREY,
         VLC_CODEC_YUVP, VLC_CODEC_RGBP },      PACKED_FMT(1, 8) },
 



More information about the vlc-commits mailing list