[libbluray-devel] Handle BD_VK_ROOT_MENU

hpi1 git at videolan.org
Fri Jun 17 16:00:11 CEST 2016


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Jun 17 16:53:25 2016 +0300| [8f7c1c531743252726c36c7592ebb9307ed08463] | committer: hpi1

Handle BD_VK_ROOT_MENU

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=8f7c1c531743252726c36c7592ebb9307ed08463
---

 src/libbluray/bluray.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 88e815a..f14073f 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -26,6 +26,7 @@
 #include "bluray-version.h"
 #include "bluray.h"
 #include "bluray_internal.h"
+#include "keys.h"
 #include "register.h"
 #include "util/array.h"
 #include "util/event_queue.h"
@@ -3593,6 +3594,10 @@ int bd_user_input(BLURAY *bd, int64_t pts, uint32_t key)
 {
     int result = -1;
 
+    if (key == BD_VK_ROOT_MENU) {
+        return bd_menu_call(bd, pts);
+    }
+
     bd_mutex_lock(&bd->mutex);
 
     _set_scr(bd, pts);



More information about the libbluray-devel mailing list