diff options
author | Rechi <Rechi@users.noreply.github.com> | 2017-03-17 09:47:41 +0100 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2017-03-17 09:47:41 +0100 |
commit | 72831b032cae0e00a482a3f56ae5beb498e48206 (patch) | |
tree | 756bbc3205969cd3286d6fd7cb6dd31cc56e236e | |
parent | 72d0c23711f3805253a3771fd43e663652cd073a (diff) |
[bluray] allow do build without bluray support
-rw-r--r-- | xbmc/cores/VideoPlayer/VideoPlayer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xbmc/cores/VideoPlayer/VideoPlayer.cpp b/xbmc/cores/VideoPlayer/VideoPlayer.cpp index 90904aa7f7..6113809710 100644 --- a/xbmc/cores/VideoPlayer/VideoPlayer.cpp +++ b/xbmc/cores/VideoPlayer/VideoPlayer.cpp @@ -25,7 +25,9 @@ #include "DVDInputStreams/DVDInputStream.h" #include "DVDInputStreams/DVDFactoryInputStream.h" #include "DVDInputStreams/DVDInputStreamNavigator.h" +#if defined(HAVE_LIBBLURAY) #include "DVDInputStreams/DVDInputStreamBluray.h" +#endif #include "DVDInputStreams/DVDInputStreamPVRManager.h" #include "DVDDemuxers/DVDDemux.h" @@ -4021,6 +4023,7 @@ void CVideoPlayer::FlushBuffers(double pts, bool accurate, bool sync) // since we call ffmpeg functions to decode, this is being called in the same thread as ::Process() is int CVideoPlayer::OnDiscNavResult(void* pData, int iMessage) { +#if defined(HAVE_LIBBLURAY) if (m_pInputStream->IsStreamType(DVDSTREAM_TYPE_BLURAY)) { switch (iMessage) @@ -4088,6 +4091,7 @@ int CVideoPlayer::OnDiscNavResult(void* pData, int iMessage) return 0; } +#endif if (m_pInputStream->IsStreamType(DVDSTREAM_TYPE_DVD)) { |