mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1181265 - wallpaper over windows (driver?) returning null ptr to GetStreamCaps r=pkerr
This commit is contained in:
parent
9e1b74c17f
commit
debd5739ae
@ -492,7 +492,8 @@ int32_t DeviceInfoDS::CreateCapabilityMap(
|
||||
{
|
||||
hr = streamConfig->GetStreamCaps(tmp, &pmt,
|
||||
reinterpret_cast<BYTE*> (&caps));
|
||||
if (!FAILED(hr))
|
||||
// Bug 1181265 - perhaps a helper dll returns success with nullptr
|
||||
if (!FAILED(hr) && pmt)
|
||||
{
|
||||
if (pmt->majortype == MEDIATYPE_Video
|
||||
&& pmt->formattype == FORMAT_VideoInfo2)
|
||||
|
Loading…
Reference in New Issue
Block a user