Commit 3774ef9a authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

misc: NV12 has 12 bits per pixel like I420

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent f6e7ad72
...@@ -176,6 +176,7 @@ void video_format_Setup( video_format_t *p_fmt, vlc_fourcc_t i_chroma, ...@@ -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_YV12:
case VLC_CODEC_I420: case VLC_CODEC_I420:
case VLC_CODEC_J420: case VLC_CODEC_J420:
case VLC_CODEC_NV12:
p_fmt->i_bits_per_pixel = 12; p_fmt->i_bits_per_pixel = 12;
break; break;
case VLC_CODEC_YV9: case VLC_CODEC_YV9:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment