[libbluray-devel] _set_button_page(): use HDMV command effect flag

hpi1 git at videolan.org
Tue Jul 16 13:11:15 CEST 2013


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Jul 16 14:09:51 2013 +0300| [efc83ec0abe3a2008e7eed8bac2b132a4ebb0c16] | committer: hpi1

_set_button_page(): use HDMV command effect flag

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

 src/libbluray/decoders/graphics_controller.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c
index a8abbf6..d35f370 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -1559,7 +1559,7 @@ static void _set_button_page(GRAPHICS_CONTROLLER *gc, uint32_t param)
 
         /* page changes */
 
-        _select_page(gc, page_id, 1);
+        _select_page(gc, page_id, !effect_flag);
 
     } else {
         /* page does not change */



More information about the libbluray-devel mailing list