Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

dvdplayer: clear packets for decoder recovery when opening a new decoder

  • Loading branch information...
commit 31b0bbf2fb84b3452a9506853e69c318ee67fa7f 1 parent fb40fea
@FernetMenta FernetMenta authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  xbmc/cores/dvdplayer/DVDPlayerVideo.cpp
View
1  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)
Please sign in to comment.
Something went wrong with that request. Please try again.