[vlc-devel] [PATCH 1/2] dxva2: return an error when no output is supported for the input format
Steve Lhomme
robux4 at gmail.com
Wed May 27 15:06:09 CEST 2015
---
modules/codec/avcodec/directx_va.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/avcodec/directx_va.c
b/modules/codec/avcodec/directx_va.c
index 305a3ce..327b5cc 100644
--- a/modules/codec/avcodec/directx_va.c
+++ b/modules/codec/avcodec/directx_va.c
@@ -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];
--
1.9.5.msysgit.0
More information about the vlc-devel
mailing list