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

Steve Lhomme git at videolan.org
Mon Jul 18 06:03:39 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed Jul 13 10:56:11 2016 +0200| [7b06771ccdb996aff7c6e9f57f41e67a0e775074] | committer: Jean-Baptiste Kempf

directx_va: better logging of which decoder doesn't support a profile

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7b06771ccdb996aff7c6e9f57f41e67a0e775074
---

 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 4e6a34a..80f58a6 100644
--- a/modules/codec/avcodec/directx_va.c
+++ b/modules/codec/avcodec/directx_va.c
@@ -554,7 +554,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;



More information about the vlc-commits mailing list