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

Steve Lhomme robux4 at videolabs.io
Tue Mar 31 16:44:07 CEST 2015


Doesn't seem to be available on XP

https://msdn.microsoft.com/en-us/library/windows/desktop/ms688692%28v=vs.85%29.aspx


On Tue, Mar 31, 2015 at 4:17 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> StringFromIID() ?
>
> Le 2015-03-31 17:13, Steve Lhomme a écrit :
>>
>> ---
>>  modules/codec/avcodec/dxva2.c | 5 +++--
>>  1 file changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
>> index 2d4c958..f349bff 100644
>> --- a/modules/codec/avcodec/dxva2.c
>> +++ b/modules/codec/avcodec/dxva2.c
>> @@ -799,8 +799,9 @@ 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 =
>> %08X-%04x-%04x-%02x-%02x-%02x-%02x-%02x-%02x-%02x-%02x",
>> +                     (unsigned)g->Data1, g->Data2, g->Data3,
>> g->Data4[0], g->Data4[1],
>> +                    g->Data4[2], g->Data4[3], g->Data4[4],
>> g->Data4[5], g->Data4[6], g->Data4[7] );
>>          }
>>      }
>
>
> --
> Rémi Denis-Courmont
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list