Commit 3d5a30c5 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

dxva2: return an error when no output is supported for the input format

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent f5d5cb75
......@@ -502,6 +502,7 @@ static int FindVideoServiceConversion(vlc_va_t *va, directx_sys_t *dx_sys, const
if (err != VLC_SUCCESS)
return err;
err = VLC_EGENERIC;
/* Retreive supported modes from the decoder service */
for (unsigned i = 0; i < p_list.count; i++) {
const GUID *g = &p_list.list[i];
......
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