mediafoundation: get device vendor id, device id, and driver version
Reviewed-by: Yubo Xie <yuboxie@microsoft.com> Reviewed-by: Sil Vilerino <sivileri@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35219>
This commit is contained in:
committed by
Marge Bot
parent
5ee854c4eb
commit
22d84522ed
@@ -925,7 +925,7 @@ CDX12EncHMFT::SetValue( const GUID *Api, VARIANT *Value )
|
||||
else if( *Api == CODECAPI_AVLowLatencyMode )
|
||||
{
|
||||
// TODO: remove this code path when we clarify whether this is supported on AMD.
|
||||
if( m_EncoderCapabilities.m_deviceVendor == "AMD" )
|
||||
if( m_deviceVendor == "AMD" )
|
||||
{
|
||||
debug_printf( "[dx12 hmft 0x%p] Device vendor is AMD, ignore LowLatency Settings\n", this );
|
||||
m_bLowLatency = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user