Skip to content

Commit

Permalink
[dvdplayer] fix vts_changes starting with a still randomly not workin…
Browse files Browse the repository at this point in the history
…g after cad5f17
  • Loading branch information
Voyager-xbmc committed Aug 25, 2012
1 parent 78a1a7a commit 6a32436
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xbmc/cores/dvdplayer/DVDPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1107,6 +1107,9 @@ void CDVDPlayer::Process()
if(next == CDVDInputStream::NEXTSTREAM_OPEN)
{
SAFE_DELETE(m_pDemuxer);
m_CurrentAudio.stream = NULL;
m_CurrentVideo.stream = NULL;
m_CurrentSubtitle.stream = NULL;
continue;
}

Expand Down Expand Up @@ -3134,6 +3137,8 @@ int CDVDPlayer::OnDVDNavResult(void* pData, int iMessage)

m_SelectionStreams.Clear(STREAM_NONE, STREAM_SOURCE_NAV);
m_SelectionStreams.Update(m_pInputStream, m_pDemuxer);

return NAVRESULT_HOLD;
}
break;
case DVDNAV_CELL_CHANGE:
Expand Down

0 comments on commit 6a32436

Please sign in to comment.