[libbluray-devel] commit: graphics controller: reset state and clear IG plane when popup is opened (hpi1 )
git at videolan.org
git at videolan.org
Mon Nov 15 15:23:53 CET 2010
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Nov 15 16:14:48 2010 +0200| [b3ff6b1ae8eb8dabf8102c164078b9e9134a2e5d] | committer: hpi1
graphics controller: reset state and clear IG plane when popup is opened
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=b3ff6b1ae8eb8dabf8102c164078b9e9134a2e5d
---
src/libbluray/decoders/graphics_controller.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c
index 5ff460b..6e09247 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -591,6 +591,12 @@ void gc_run(GRAPHICS_CONTROLLER *gc, gc_ctrl_e ctrl, uint32_t param, GC_NAV_CMDS
gc->popup_visible = !!param;
+ if (gc->popup_visible) {
+ bd_psr_write(gc->regs, PSR_MENU_PAGE_ID, 0);
+ _reset_enabled_button(gc);
+ _gc_clear_osd(gc, 1);
+ }
+
/* fall thru */
case GC_CTRL_NOP:
More information about the libbluray-devel
mailing list