aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCastagnaIT <gottardo.stefano.83@gmail.com>2022-07-06 15:58:09 +0200
committerCastagnaIT <gottardo.stefano.83@gmail.com>2022-07-06 15:58:09 +0200
commite5f4762ba32fe06aebf5565d001a24f52cd2cec4 (patch)
tree3e854f86311f609236297addad79197194d3b4ce
parentdf03f1b78197a0e44ab1bb69d98422e2f006c58d (diff)
[Subtitles] Clear all overlays just before creating a new parser
-rw-r--r--xbmc/cores/VideoPlayer/VideoPlayerSubtitle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/VideoPlayer/VideoPlayerSubtitle.cpp b/xbmc/cores/VideoPlayer/VideoPlayerSubtitle.cpp
index 110da40732..26320908b7 100644
--- a/xbmc/cores/VideoPlayer/VideoPlayerSubtitle.cpp
+++ b/xbmc/cores/VideoPlayer/VideoPlayerSubtitle.cpp
@@ -118,7 +118,7 @@ bool CVideoPlayerSubtitle::OpenStream(CDVDStreamInfo &hints, std::string &filena
{
std::unique_lock<CCriticalSection> lock(m_section);
- CloseStream(true);
+ CloseStream(false);
m_streaminfo = hints;
// okey check if this is a filesubtitle