Skip to content

Commit

Permalink
Merge pull request #13936 from FernetMenta/flush
Browse files Browse the repository at this point in the history
VideoPlayer: discard buffers instead of flush when hiding video
  • Loading branch information
FernetMenta committed May 25, 2018
2 parents b3b4c21 + 41a6466 commit 8a6c6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/VideoPlayer/VideoRenderers/RenderManager.cpp
Expand Up @@ -265,7 +265,7 @@ void CRenderManager::ShowVideo(bool enable)
{
m_showVideo = enable;
if (!enable)
Flush(false);
DiscardBuffer();
}

void CRenderManager::FrameWait(int ms)
Expand Down

0 comments on commit 8a6c6c7

Please sign in to comment.