Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2930 from popcornmix/remove_flush

[rbp/omxplayer] Remove flush of video codec when audio codec changes
  • Loading branch information...
commit 8320a82717773faaefa1533e67d17d51676cecbc 2 parents 5de7fcf + a21fa19
huceke huceke authored
Showing with 0 additions and 9 deletions.
  1. +0 −9 xbmc/cores/omxplayer/OMXPlayerAudio.cpp
9 xbmc/cores/omxplayer/OMXPlayerAudio.cpp
View
@@ -558,14 +558,11 @@ bool OMXPlayerAudio::OpenDecoder()
m_passthrough = false;
m_hw_decode = false;
- bool bSendParent = false;
-
if(m_DecoderOpen)
{
WaitCompletion();
m_omxAudio.Deinitialize();
m_DecoderOpen = false;
- bSendParent = true;
}
/* setup audi format for audio render */
@@ -599,12 +596,6 @@ bool OMXPlayerAudio::OpenDecoder()
m_started = false;
- // TODO : Send FLUSH to parent, only if we had a valid open codec.
- // this is just a workaround to get the omx video decoder happy again
- // This situation happens, for example where we have in the stream an audio codec change
- if(bSendParent)
- m_messageParent.Put(new CDVDMsg(CDVDMsg::GENERAL_FLUSH));
-
return bAudioRenderOpen;
}
Please sign in to comment.
Something went wrong with that request. Please try again.