[libbluray-devel] Fixed displaying of single-loop animated buttons when not using animations

hpi1 git at videolan.org
Mon Jan 9 10:25:30 CET 2012


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Jan  9 11:23:41 2012 +0200| [2b62f6c41d73b2b52cd8c29627b723b4a6ee6ceb] | committer: hpi1

Fixed displaying of single-loop animated buttons when not using animations

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

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

diff --git a/ChangeLog b/ChangeLog
index 0a2a144..6d666e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
 ????-??-??:
+ - Fixed displaying of single-loop animated buttons when not using animations
  - Added events for pop-up menu availability and IG menu status
  - Fixed resuming to interactive title
  - Use user filesystem handler with libaacs
diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c
index 5e7b01a..4b3a63c 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -202,6 +202,10 @@ static BD_PG_OBJECT *_find_object_for_button(PG_DISPLAY_SET *s,
         }
     }
 
+    if (!repeat && object_id_end < 0xfffe) {
+        object_id = object_id_end;
+    }
+
     object = _find_object(s, object_id);
 
     return object;



More information about the libbluray-devel mailing list