From 74be690b6aa2a61e0a39952f94ec56b2321367bc Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Thu, 28 Jun 2007 18:24:15 +0000 Subject: [PATCH] Add support for 2Vuy rawvideo. Patch from Ilkka Ollakka. --- modules/codec/rawvideo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/codec/rawvideo.c b/modules/codec/rawvideo.c index f2f92d4ace..696031398e 100644 --- a/modules/codec/rawvideo.c +++ b/modules/codec/rawvideo.c @@ -107,7 +107,9 @@ static int OpenDecoder( vlc_object_t *p_this ) case VLC_FOURCC('R','V','1','6'): case VLC_FOURCC('R','V','1','5'): break; - + case VLC_FOURCC('2','V','u','y'): + p_dec->fmt_in.i_codec = VLC_FOURCC('U','Y','V','Y'); + break; case VLC_FOURCC('y','v','1','2'): p_dec->fmt_in.i_codec = VLC_FOURCC('Y','V','1','2'); break; -- GitLab