[libbluray-devel] gc_run(): display set must be complete before it is used

hpi1 git at videolan.org
Wed Feb 9 16:55:01 CET 2011


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Feb  9 17:30:32 2011 +0200| [829fce0ef22513f04c16ba19dd85f3975d684038] | committer: hpi1

gc_run(): display set must be complete before it is used

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

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

diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c
index 5d67290..daa034e 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -756,7 +756,7 @@ int gc_run(GRAPHICS_CONTROLLER *gc, gc_ctrl_e ctrl, uint32_t param, GC_NAV_CMDS
         cmds->sound_id_ref = -1;
     }
 
-    if (!gc || !gc->igs || !gc->igs->ics) {
+    if (!gc || !gc->igs || !gc->igs->ics || !gc->igs->complete) {
         TRACE("gc_run(): no interactive composition\n");
         return result;
     }



More information about the libbluray-devel mailing list