[vlc-commits] dxva2: return an error when no output is supported for the input format
Steve Lhomme
git at videolan.org
Thu May 28 17:30:06 CEST 2015
vlc | branch: master | Steve Lhomme <robux4 at gmail.com> | Wed May 27 15:06:09 2015 +0200| [3d5a30c5c6afed4c36ac26bd593030a38e0e8d91] | committer: Jean-Baptiste Kempf
dxva2: return an error when no output is supported for the input format
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d5a30c5c6afed4c36ac26bd593030a38e0e8d91
---
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];
More information about the vlc-commits
mailing list