[libbluray-devel] Fixed log messages and comments
hpi1
git at videolan.org
Mon Feb 21 14:30:04 CET 2011
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Feb 20 17:47:01 2011 +0200| [b61fec132ec0811b9ab0366a86f3d924a1a5bd06] | committer: hpi1
Fixed log messages and comments
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=b61fec132ec0811b9ab0366a86f3d924a1a5bd06
---
src/libbluray/decoders/graphics_controller.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c
index 0a1b732..477f4ff 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -665,15 +665,16 @@ static void _enable_button(GRAPHICS_CONTROLLER *gc, uint32_t button_id, unsigned
static void _update_selected_button(GRAPHICS_CONTROLLER *gc)
{
+ /* executed after IG command sequence terminates */
unsigned button_id = bd_psr_read(gc->regs, PSR_SELECTED_BUTTON_ID);
- TRACE("_update_enabled_button(): currently enabled button is #%d\n", button_id);
+ TRACE("_update_selected_button(): currently enabled button is #%d\n", button_id);
- // special case: triggered only after enable button disables selected button
+ /* special case: triggered only after enable button disables selected button */
if (button_id & 0x10000) {
button_id &= 0xffff;
bd_psr_write(gc->regs, PSR_SELECTED_BUTTON_ID, button_id);
- TRACE("_update_enabled_button() -> #%d [last enabled]\n", button_id);
+ TRACE("_update_selected_button() -> #%d [last enabled]\n", button_id);
return;
}
More information about the libbluray-devel
mailing list