Skip to content

Commit

Permalink
dvdplayer: fix flushing message queue
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Sep 24, 2014
1 parent ba3e797 commit 847f81e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/cores/dvdplayer/DVDMessageQueue.cpp
Expand Up @@ -44,7 +44,7 @@ CDVDMessageQueue::CDVDMessageQueue(const string &owner) : m_hEvent(true), m_owne
CDVDMessageQueue::~CDVDMessageQueue()
{
// remove all remaining messages
Flush();
Flush(CDVDMsg::NONE);
}

void CDVDMessageQueue::Init()
Expand Down Expand Up @@ -91,7 +91,7 @@ void CDVDMessageQueue::End()
{
CSingleLock lock(m_section);

Flush();
Flush(CDVDMsg::NONE);

m_bInitialized = false;
m_iDataSize = 0;
Expand Down

0 comments on commit 847f81e

Please sign in to comment.