win-dshow: Use unbuffered by default for MJPEG

Due to the recent change of using FFmpeg to decode MJPEG, MJPEG was
getting included in the delayed device check.  This fixes that so that
it doesn't.  MJPEG can decode in real time.
This commit is contained in:
jp9000
2019-07-28 22:50:24 -07:00
parent cd6e9e34b8
commit deaeb5e632

View File

@@ -806,7 +806,7 @@ static long long GetOBSFPS();
static inline bool IsDelayedDevice(const VideoConfig &config)
{
return config.format >= VideoFormat::MJPEG ||
return config.format > VideoFormat::MJPEG ||
wstrstri(config.name.c_str(), L"elgato") != NULL ||
wstrstri(config.name.c_str(), L"stream engine") != NULL;
}