Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[rbp/omxplayer] fixed messanger handling.

  • Loading branch information...
commit dc8f921bfda8dd031da53a42f303d7c9324e7fa5 1 parent 0957f22
huceke huceke authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 xbmc/cores/omxplayer/OMXPlayer.cpp
5 xbmc/cores/omxplayer/OMXPlayer.cpp
View
@@ -428,6 +428,9 @@ COMXPlayer::COMXPlayer(IPlayerCallback &callback)
COMXPlayer::~COMXPlayer()
{
CloseFile();
+
+ if(m_messenger.IsInited())
+ m_messenger.End();
}
bool COMXPlayer::OpenFile(const CFileItem &file, const CPlayerOptions &options)
@@ -2015,7 +2018,7 @@ void COMXPlayer::OnExit()
// clean up all selection streams
m_SelectionStreams.Clear(STREAM_NONE, STREAM_SOURCE_NONE);
- m_messenger.End();
+ m_messenger.Flush();
m_av_clock.OMXDeinitialize();
Please sign in to comment.
Something went wrong with that request. Please try again.