[vlc-devel] [PATCH] directx_va: better logging of which decoder doesn't support a profile

Steve Lhomme robux4 at videolabs.io
Wed Jul 13 10:56:11 CEST 2016


---
 modules/codec/avcodec/directx_va.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/directx_va.c b/modules/codec/avcodec/directx_va.c
index 0c05601..af842d6 100644
--- a/modules/codec/avcodec/directx_va.c
+++ b/modules/codec/avcodec/directx_va.c
@@ -561,7 +561,8 @@ static int FindVideoServiceConversion(vlc_va_t *va, directx_sys_t *dx_sys, const
         {
             is_supported = profile_supported( mode, fmt );
             if (!is_supported)
-                msg_Warn( va, "Unsupported profile for HWAccel: %d", fmt->i_profile );
+                msg_Warn( va, "Unsupported profile %d for %s ",
+                          fmt->i_profile, directx_va_GetDecoderName(mode->guid) );
         }
         if (!is_supported)
             continue;
-- 
2.8.2



More information about the vlc-devel mailing list