[libbluray-devel] commit: graphics controller: clearing OSD does not change popup_visible state (hpi1 )

git at videolan.org git at videolan.org
Mon Nov 15 14:35:07 CET 2010


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Nov 15 15:05:05 2010 +0200| [8d5f59058dc03b2835ded5b09b7d0d88dfc09486] | committer: hpi1 

graphics controller: clearing OSD does not change popup_visible state

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

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

diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c
index df250f7..227bee7 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -92,7 +92,6 @@ static void _gc_clear_osd(GRAPHICS_CONTROLLER *gc, int plane)
 
     if (plane) {
         gc->ig_drawn      = 0;
-        gc->popup_visible = 0;
     } else {
         gc->pg_drawn      = 0;
     }
@@ -103,6 +102,8 @@ static void _gc_reset(GRAPHICS_CONTROLLER *gc)
     _gc_clear_osd(gc, 0);
     _gc_clear_osd(gc, 1);
 
+    gc->popup_visible = 0;
+
     graphics_processor_free(&gc->igp);
     graphics_processor_free(&gc->pgp);
 



More information about the libbluray-devel mailing list