Skip to content

Commit

Permalink
[Fix][bluray] BD_EVENT_MENU and BD_EVENT_IDLE are independent of HAVE…
Browse files Browse the repository at this point in the history
…_LIBBLURAY_BDJ.
  • Loading branch information
ace20022 committed Jan 25, 2014
1 parent 6dac8ed commit d347b6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamBluray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,13 +556,14 @@ void CDVDInputStreamBluray::ProcessEvent() {
m_player->OnDVDNavResult((void*) &pid, 3);
break;

#ifdef HAVE_LIBBLURAY_BDJ
#if (BLURAY_VERSION >= BLURAY_VERSION_CODE(0,2,2))
case BD_EVENT_MENU:
CLog::Log(LOGDEBUG, "CDVDInputStreamBluray - BD_EVENT_PG_TEXTST %d",
CLog::Log(LOGDEBUG, "CDVDInputStreamBluray - BD_EVENT_MENU %d",
m_event.param);
m_menu = !!m_event.param;
break;

#endif
#if (BLURAY_VERSION >= BLURAY_VERSION_CODE(0,3,0))
case BD_EVENT_IDLE:
Sleep(100);
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
extern "C"
{
#include <libbluray/bluray.h>
#include <libbluray/bluray-version.h>
#include <libbluray/keys.h>
#include <libbluray/overlay.h>
}
Expand Down

0 comments on commit d347b6d

Please sign in to comment.