[libbluray-devel] HDMV: Button objects have no UO mask.
hpi1
git at videolan.org
Wed Apr 22 12:44:13 CEST 2015
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Apr 22 13:06:29 2015 +0300| [f76e5e62b95715c9d557315e2c3183a941b9d651] | committer: hpi1
HDMV: Button objects have no UO mask.
Always use current movie object UO mask.
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=f76e5e62b95715c9d557315e2c3183a941b9d651
---
src/libbluray/hdmv/hdmv_vm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libbluray/hdmv/hdmv_vm.c b/src/libbluray/hdmv/hdmv_vm.c
index 95b55f7..20c1997 100644
--- a/src/libbluray/hdmv/hdmv_vm.c
+++ b/src/libbluray/hdmv/hdmv_vm.c
@@ -1188,7 +1188,7 @@ uint32_t hdmv_vm_get_uo_mask(HDMV_VM *p)
bd_mutex_lock(&p->mutex);
- if ((o = p->object ? p->object : (p->playing_object ? p->playing_object : p->suspended_object))) {
+ if ((o = (p->object && !p->ig_object) ? p->object : (p->playing_object ? p->playing_object : p->suspended_object))) {
mask |= o->menu_call_mask;
mask |= o->title_search_mask << 1;
}
More information about the libbluray-devel
mailing list