[vlc-devel] [PATCH] DXVA2: log the exact unknown GUID value

Jean-Baptiste Kempf jb at videolan.org
Wed Apr 1 12:43:15 CEST 2015


OK.

On 01 Apr, Steve Lhomme wrote :
> ---
>  modules/codec/avcodec/dxva2.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
> index 2d4c958..f9e7c40 100644
> --- a/modules/codec/avcodec/dxva2.c
> +++ b/modules/codec/avcodec/dxva2.c
> @@ -50,6 +50,7 @@
>  #include "avcodec.h"
>  #include "va.h"
>  #include "../../video_chroma/copy.h"
> +#include "../../demux/asf/libasf_guid.h"
>  
>  static int Open(vlc_va_t *, AVCodecContext *, const es_format_t *);
>  static void Close(vlc_va_t *, AVCodecContext *);
> @@ -799,8 +800,7 @@ static int DxFindVideoServiceConversion(vlc_va_t *va, GUID *input, D3DFORMAT *ou
>          if (mode) {
>              msg_Dbg(va, "- '%s' is supported by hardware", mode->name);
>          } else {
> -            msg_Warn(va, "- Unknown GUID = %08X-%04x-%04x-XXXX",
> -                     (unsigned)g->Data1, g->Data2, g->Data3);
> +            msg_Warn(va, "- Unknown GUID = " GUID_FMT, GUID_PRINT( *g ) );
>          }
>      }
>  
> -- 
> 2.3.2
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list