MediaCapture: Fix Media Foundation refusing to load

This commit is contained in:
Stenzek
2026-05-29 18:39:42 +10:00
parent 15bfa50cee
commit c1165ab037
+1 -1
View File
@@ -796,7 +796,7 @@ bool MediaCaptureMF::LoadMediaFoundation(Error* error)
result = false;
}
if (result)
if (!result)
UnloadMediaFoundation();
});