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

Laurent Aimar git at videolan.org
Mon Jan 16 21:00:15 CET 2012


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jan 16 20:25:00 2012 +0100| [4f417ef5ed3c7dbe3094fded253c135132afa5c2] | committer: Laurent Aimar

Added NV12/21 support in rawvideo decoder.

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

 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