Skip to content

Commit

Permalink
Seek fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
stupid-boy committed Mar 7, 2013
1 parent 1a93a46 commit 85bb82a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion xbmc/cores/omxplayer/OMXAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -749,8 +749,16 @@ void COMXAudio::Flush()

m_omx_decoder.FlushInput();
m_omx_tunnel_decoder.Flush();
if(!m_Passthrough)
if ( m_omx_mixer.IsInitialized() )
m_omx_mixer.FlushAll();
if( m_omx_tunnel_mixer.IsInitialized() )
m_omx_tunnel_mixer.Flush();
if ( m_omx_splitter.IsInitialized() )
m_omx_splitter.FlushAll();
if ( m_omx_tunnel_splitter_analog.IsInitialized() )
m_omx_tunnel_splitter_analog.Flush();
if ( m_omx_tunnel_splitter_HDMI.IsInitialized() )
m_omx_tunnel_splitter_HDMI.Flush();

m_last_pts = DVD_NOPTS_VALUE;
m_LostSync = true;
Expand Down

0 comments on commit 85bb82a

Please sign in to comment.