[vlc-devel] [PATCH 11/12] bluray: Handle overlay clearing.

Hugo Beauzée-Luyssen beauze.h at gmail.com
Sun Jan 22 00:31:06 CET 2012


---
 modules/access/bluray.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 7f082a8..f019d22 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -357,7 +357,8 @@ static void blurayClearOverlay( demux_t *p_demux, const BD_OVERLAY* const ov )
 {
     demux_sys_t     *p_sys = p_demux->p_sys;
 
-    //FIXME
+    subpicture_region_ChainDelete( p_sys->p_pic[ov->plane]->p_region );
+    p_sys->p_pic[ov->plane]->p_region = NULL;
 }
 
 static void blurayDrawOverlay( demux_t *p_demux, const BD_OVERLAY* const ov )
-- 
1.7.8.4




More information about the vlc-devel mailing list