[libbluray-devel] Fix bd_menu_call()

hpi1 git at videolan.org
Sat Mar 29 12:04:19 CET 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sat Mar 29 12:58:17 2014 +0200| [b1339f1487cdd428117b4cb2c874133c3c9e8b9e] | committer: hpi1

Fix bd_menu_call()

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

 src/libbluray/bluray.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index f2f9a3d..dcb9baa 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -2847,10 +2847,10 @@ static int _play_title(BLURAY *bd, unsigned title)
             return 0;
         }
 
-        if (bd->disc_info.first_play->bdj) {
+        if (bd->disc_info.top_menu->bdj) {
             return _play_bdj(bd, title);
         } else {
-            return _play_hdmv(bd, bd->disc_info.first_play->id_ref);
+            return _play_hdmv(bd, bd->disc_info.top_menu->id_ref);
         }
 
         return 0;



More information about the libbluray-devel mailing list