changeset 36877:f5bbd989e55a

Ensure that DVD highlight is really removed on switching titles. Based on patch by KO Myung-Hun [komh78 gmail]
author reimar
date Tue, 04 Mar 2014 19:28:58 +0000
parents 27b48ba4fe15
children 64e3020090dd
files mplayer.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Tue Mar 04 13:39:42 2014 +0000
+++ b/mplayer.c	Tue Mar 04 19:28:58 2014 +0000
@@ -3933,6 +3933,9 @@
                     // clear highlight
                     if (vo_spudec)
                         spudec_apply_palette_crop(vo_spudec, 0, 0, 0, 0, 0);
+                    osd_set_nav_box(0, 0, 0, 0);
+                    vo_osd_changed(OSDTYPE_DVDNAV);
+                    vo_osd_changed(OSDTYPE_SPU);
                     if (mpctx->sh_video &&
                         stream_control(mpctx->demuxer->stream,
                                        STREAM_CTRL_GET_ASPECT_RATIO, &ar)