[vlc-commits] Added NV12/21 support in rawvideo decoder.

Laurent Aimar git at videolan.org
Tue Jan 17 23:30:13 CET 2012


vlc/vlc-1.2 | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jan 16 20:25:00 2012 +0100| [d5983f30cc80308597524da48b685bd0563c050b] | committer: Jean-Baptiste Kempf

Added NV12/21 support in rawvideo decoder.
(cherry picked from commit 4f417ef5ed3c7dbe3094fded253c135132afa5c2)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/codec/rawvideo.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/codec/rawvideo.c b/modules/codec/rawvideo.c
index 0dcf42e..aa68f35 100644
--- a/modules/codec/rawvideo.c
+++ b/modules/codec/rawvideo.c
@@ -104,6 +104,8 @@ static int OpenDecoder( vlc_object_t *p_this )
         case VLC_CODEC_I410:
         case VLC_CODEC_GREY:
         case VLC_CODEC_YUVP:
+        case VLC_CODEC_NV12:
+        case VLC_CODEC_NV21:
 
         /* Packed YUV */
         case VLC_CODEC_YUYV:



More information about the vlc-commits mailing list