win-dshow: Change buffering for Elgato devices

The default is now buffering disabled except for very old devices
accessed through virtual capture filter "Elgato Game Capture HD".
This commit is contained in:
Friedhelm Birth
2023-04-01 16:03:33 -07:00
committed by Jim
parent 1be1f51635
commit b3b5e7eae8
+3 -3
View File
@@ -860,9 +860,9 @@ static long long GetOBSFPS();
static inline bool IsDelayedDevice(const VideoConfig &config)
{
return config.format > VideoFormat::MJPEG ||
(wstrstri(config.name.c_str(), L"elgato") != NULL &&
wstrstri(config.name.c_str(), L"facecam") == NULL) ||
wstrstri(config.name.c_str(), L"stream engine") != NULL;
wstrstri(config.name.c_str(), L"elgato game capture hd") !=
nullptr ||
wstrstri(config.name.c_str(), L"stream engine") != nullptr;
}
static inline bool IsDecoupled(const VideoConfig &config)