Commit 2748044a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

qsv: Specify the input chroma

This avoids some filters to reject conversion to NV12
parent 746354b9
......@@ -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-> = VLC_CODEC_NV12;
enc-> = 12;
/* Input picture format description */
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