Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

fixed: still frames at the start of a VTS in dvd could end up not sho…


This occured due to a change in behavior in updated ffmpeg. Old code would
return EOF once after a VTS change to trigger demuxer flush, however
updated ffmpeg will read multiple times causing demuxer reset actions
to get executed after actual data having been processed by demuxer.
  • Loading branch information...
1 parent f56972c commit 64212de9bd7c3aa5631b4caebd6ca1c129636c91 @elupus elupus committed with
7 xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamNavigator.cpp
@@ -419,9 +419,12 @@ int CDVDInputStreamNavigator::ProcessBlock(BYTE* dest_buffer, int* read)
iNavresult = NAVRESULT_HOLD;
+ {
iNavresult = m_pDVDPlayer->OnDVDNavResult(buf, DVDNAV_VTS_CHANGE);
- m_bInMenu = (0 == m_dll.dvdnav_is_domain_vts(m_dvdnav));
+ m_holdmode = HOLDMODE_HELD;
+ m_lastevent = DVDNAV_NOP;
+ m_bInMenu = (0 == m_dll.dvdnav_is_domain_vts(m_dvdnav));
+ }

1 comment on commit 64212de


I'm pretty sure this is only valid after updated ffmpeg

Please sign in to comment.
Something went wrong with that request. Please try again.