diff options
-rw-r--r-- | xbmc/cores/VideoPlayer/VideoPlayer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xbmc/cores/VideoPlayer/VideoPlayer.cpp b/xbmc/cores/VideoPlayer/VideoPlayer.cpp index 48cb588cf2..41fdfa844e 100644 --- a/xbmc/cores/VideoPlayer/VideoPlayer.cpp +++ b/xbmc/cores/VideoPlayer/VideoPlayer.cpp @@ -928,7 +928,10 @@ void CVideoPlayer::OpenDefaultStreams(bool reset) } } if(!valid) + { CloseStream(m_CurrentVideo, true); + m_processInfo->ResetVideoCodecInfo(); + } // open audio stream valid = false; @@ -945,7 +948,10 @@ void CVideoPlayer::OpenDefaultStreams(bool reset) } if(!valid) + { CloseStream(m_CurrentAudio, true); + m_processInfo->ResetAudioCodecInfo(); + } // enable or disable subtitles bool visible = CMediaSettings::GetInstance().GetCurrentVideoSettings().m_SubtitleOn; |