[vlc-commits] qsv: Specify the input chroma
Hugo Beauzée-Luyssen
git at videolan.org
Wed Aug 23 17:39:41 CEST 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Aug 23 11:35:54 2017 +0200| [2748044a0fc8e794eb0bebd49aabb98a94559f6c] | committer: Hugo Beauzée-Luyssen
qsv: Specify the input chroma
This avoids some filters to reject conversion to NV12
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2748044a0fc8e794eb0bebd49aabb98a94559f6c
---
modules/codec/qsv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/qsv.c b/modules/codec/qsv.c
index e0c9121fc4..e24196fa65 100644
--- a/modules/codec/qsv.c
+++ b/modules/codec/qsv.c
@@ -449,6 +449,7 @@ static int Open(vlc_object_t *this)
/* Vlc module configuration */
enc->p_sys = sys;
enc->fmt_in.i_codec = VLC_CODEC_NV12; // Intel Media SDK requirement
+ enc->fmt_in.video.i_chroma = VLC_CODEC_NV12;
enc->fmt_in.video.i_bits_per_pixel = 12;
/* Input picture format description */
More information about the vlc-commits
mailing list