[vlc-commits] [Git][videolan/vlc][master] DirectShow: allow NV12 video format
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Sun Mar 29 10:02:58 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
42e66c82 by Francesco Montefoschi at 2026-03-29T11:43:56+02:00
DirectShow: allow NV12 video format
- - - - -
1 changed file:
- modules/access/dshow/filter.cpp
Changes:
=====================================
modules/access/dshow/filter.cpp
=====================================
@@ -134,6 +134,10 @@ vlc_fourcc_t GetFourCCFromMediaType( const AM_MEDIA_TYPE &media_type )
else if( media_type.subtype == MEDIASUBTYPE_YVU9 )
i_fourcc = VLC_CODEC_I410;
+ /* Semi-planar YUV formats */
+ else if( media_type.subtype == MEDIASUBTYPE_NV12 )
+ i_fourcc = VLC_CODEC_NV12;
+
/* Packed YUV formats */
else if( media_type.subtype == MEDIASUBTYPE_YVYU )
i_fourcc = VLC_CODEC_YVYU;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/42e66c82bd7e2180af846773ff6fcefcc41e2fd9
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/42e66c82bd7e2180af846773ff6fcefcc41e2fd9
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list