Permalink
Browse files

Merge pull request #3995 from FernetMenta/video

dvdplayer: clear packets for decoder recovery when opening a new decoder
  • Loading branch information...
2 parents fb40fea + 31b0bbf commit 394a216d8f5a674e139d84e6fa7296903d341b0d @elupus elupus committed Jan 9, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 xbmc/cores/dvdplayer/DVDPlayerVideo.cpp
@@ -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)

0 comments on commit 394a216

Please sign in to comment.