Skip to content
Permalink
Browse files

omxplayer: Add sync parameter to log

  • Loading branch information...
popcornmix committed Apr 21, 2016
1 parent 056eb7f commit cfa8634844fcf4b2e2fdafc97283e821c7417a0c
Showing with 4 additions and 2 deletions.
  1. +2 −1 xbmc/cores/omxplayer/OMXPlayerAudio.cpp
  2. +2 −1 xbmc/cores/omxplayer/OMXPlayerVideo.cpp
@@ -430,7 +430,8 @@ void OMXPlayerAudio::Process()
}
else if (pMsg->IsType(CDVDMsg::GENERAL_FLUSH))
{
CLog::Log(LOGDEBUG, "COMXPlayerAudio - CDVDMsg::GENERAL_FLUSH");
bool sync = static_cast<CDVDMsgBool*>(pMsg)->m_value;
CLog::Log(LOGDEBUG, "COMXPlayerAudio - CDVDMsg::GENERAL_FLUSH(%d)", sync);
m_omxAudio.Flush();
m_stalled = true;
m_started = false;
@@ -385,7 +385,8 @@ void OMXPlayerVideo::Process()
}
else if (pMsg->IsType(CDVDMsg::GENERAL_FLUSH)) // private message sent by (COMXPlayerVideo::Flush())
{
CLog::Log(LOGDEBUG, "COMXPlayerVideo - CDVDMsg::GENERAL_FLUSH");
bool sync = static_cast<CDVDMsgBool*>(pMsg)->m_value;
CLog::Log(LOGDEBUG, "COMXPlayerVideo - CDVDMsg::GENERAL_FLUSH(%d)", sync);
m_stalled = true;
m_started = false;
m_nextOverlay = DVD_NOPTS_VALUE;

0 comments on commit cfa8634

Please sign in to comment.
You can’t perform that action at this time.