From 2d7dcb495c886953430e18233980352b3163d8fb Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 29 Mar 2019 23:38:23 -0700 Subject: [PATCH] Remove CAPABILITY_DIRECT_SUBMIT for the video decoder because it can block for significant time periods when D3D9 is reconfiguring display settings (and holding the D3D global lock) This can cause false reports of packet loss. --- app/streaming/video/ffmpeg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/streaming/video/ffmpeg.cpp b/app/streaming/video/ffmpeg.cpp index 3c5b0134..335b0b95 100644 --- a/app/streaming/video/ffmpeg.cpp +++ b/app/streaming/video/ffmpeg.cpp @@ -37,7 +37,7 @@ bool FFmpegVideoDecoder::isHardwareAccelerated() int FFmpegVideoDecoder::getDecoderCapabilities() { - return CAPABILITY_DIRECT_SUBMIT | m_Renderer->getDecoderCapabilities(); + return m_Renderer->getDecoderCapabilities(); } enum AVPixelFormat FFmpegVideoDecoder::ffGetFormat(AVCodecContext* context,