[libbluray-devel] commit: _set_button_page(): clear IG plane when page changes (hpi1 )

git at videolan.org git at videolan.org
Mon Nov 15 15:23:52 CET 2010


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Nov 15 16:09:36 2010 +0200| [db5803be05c43b54a2f9af7fa6b3a7d8d6cb91c0] | committer: hpi1 

_set_button_page(): clear IG plane when page changes

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

 src/libbluray/decoders/graphics_controller.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c
index 4513172..8568a05 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -505,9 +505,13 @@ static void _set_button_page(GRAPHICS_CONTROLLER *gc, uint32_t param, GC_NAV_CMD
             return;
         }
 
+        /* page changes */
+
         bd_psr_write(gc->regs, PSR_MENU_PAGE_ID, page_id);
 
         _reset_enabled_button(gc);
+        _gc_clear_osd(gc, 1);
+
 
     } else {
         /* page does not change */



More information about the libbluray-devel mailing list