Skip to content

Commit

Permalink
dvdplayer: clear packets for decoder recovery when opening a new decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Jan 9, 2014
1 parent fb40fea commit 31b0bbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/cores/dvdplayer/DVDPlayerVideo.cpp
Expand Up @@ -256,6 +256,7 @@ void CDVDPlayerVideo::OpenStream(CDVDStreamInfo &hint, CDVDVideoCodec* codec)
m_stalled = m_messageQueue.GetPacketCount(CDVDMsg::DEMUXER_PACKET) == 0;
m_started = false;
m_codecname = m_pVideoCodec->GetName();
m_packets.clear();
}

void CDVDPlayerVideo::CloseStream(bool bWaitForBuffers)
Expand Down

0 comments on commit 31b0bbf

Please sign in to comment.