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.
This commit is contained in:
parent
bc580c9aaa
commit
2d7dcb495c
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue