[vlc-commits] misc: NV12 has 12 bits per pixel like I420

Steve Lhomme git at videolan.org
Tue Apr 21 18:55:56 CEST 2015


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Mon Apr 20 12:57:44 2015 +0200| [3774ef9abe576730950e47697b7068e73cdde52d] | committer: Jean-Baptiste Kempf

misc: NV12 has 12 bits per pixel like I420

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

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

 src/misc/es_format.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/misc/es_format.c b/src/misc/es_format.c
index e15a8b3..7db4d1c 100644
--- a/src/misc/es_format.c
+++ b/src/misc/es_format.c
@@ -176,6 +176,7 @@ void video_format_Setup( video_format_t *p_fmt, vlc_fourcc_t i_chroma,
     case VLC_CODEC_YV12:
     case VLC_CODEC_I420:
     case VLC_CODEC_J420:
+    case VLC_CODEC_NV12:
         p_fmt->i_bits_per_pixel = 12;
         break;
     case VLC_CODEC_YV9:



More information about the vlc-commits mailing list