Skip to content
This repository
Browse code

[rbp/omxplayer] fixed messanger handling.

  • Loading branch information...
commit dc8f921bfda8dd031da53a42f303d7c9324e7fa5 1 parent 0957f22
huceke authored December 28, 2012

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. 5  xbmc/cores/omxplayer/OMXPlayer.cpp
5  xbmc/cores/omxplayer/OMXPlayer.cpp
@@ -428,6 +428,9 @@ COMXPlayer::COMXPlayer(IPlayerCallback &callback)
428 428
 COMXPlayer::~COMXPlayer()
429 429
 {
430 430
   CloseFile();
  431
+
  432
+  if(m_messenger.IsInited())
  433
+    m_messenger.End();
431 434
 }
432 435
 
433 436
 bool COMXPlayer::OpenFile(const CFileItem &file, const CPlayerOptions &options)
@@ -2015,7 +2018,7 @@ void COMXPlayer::OnExit()
2015 2018
     // clean up all selection streams
2016 2019
     m_SelectionStreams.Clear(STREAM_NONE, STREAM_SOURCE_NONE);
2017 2020
 
2018  
-    m_messenger.End();
  2021
+    m_messenger.Flush();
2019 2022
 
2020 2023
     m_av_clock.OMXDeinitialize();
2021 2024
 

0 notes on commit dc8f921

Please sign in to comment.
Something went wrong with that request. Please try again.