[libbluray-devel] Improved log message

hpi1 git at videolan.org
Tue Mar 5 10:49:13 CET 2013


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Mar  5 11:37:58 2013 +0200| [f68c4e093e9b48caffaf91d117c8be3319144bc0] | committer: hpi1

Improved log message

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

 src/libbluray/hdmv/hdmv_vm.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/libbluray/hdmv/hdmv_vm.c b/src/libbluray/hdmv/hdmv_vm.c
index b6291c2..da26740 100644
--- a/src/libbluray/hdmv/hdmv_vm.c
+++ b/src/libbluray/hdmv/hdmv_vm.c
@@ -405,7 +405,9 @@ static int _resume_object(HDMV_VM *p, int psr_restore)
 
     p->suspended_object = NULL;
 
-    BD_DEBUG(DBG_HDMV, "resuming object %p at %d\n", p->object, p->pc);
+    BD_DEBUG(DBG_HDMV, "resuming object %d at %d\n",
+             (p->movie_objects->objects - p->object) / sizeof(p->movie_objects->objects[0]),
+             p->pc);
 
     _queue_event(p, HDMV_EVENT_PLAY_STOP, 0);
 



More information about the libbluray-devel mailing list