Skip to content

Commit

Permalink
Merge pull request #582 from CrystalP/fix-dvd
Browse files Browse the repository at this point in the history
Fix playback of dvd, dvd iso and video_ts - display the video instead of a visualization
  • Loading branch information
CrystalP committed Dec 26, 2011
2 parents b38cb3b + 566136b commit 96ca146
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/cores/dvdplayer/DVDPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2255,6 +2255,8 @@ bool CDVDPlayer::IsPaused() const

bool CDVDPlayer::HasVideo() const
{
if (m_pInputStream && m_pInputStream->IsStreamType(DVDSTREAM_TYPE_DVD)) return true;

return m_SelectionStreams.Count(STREAM_VIDEO) > 0 ? true : false;
}

Expand Down

0 comments on commit 96ca146

Please sign in to comment.