Mercurial > mplayer.hg
comparison mplayer.c @ 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 | 3fa865bd3157 |
children | 9afababf229e |
comparison
equal
deleted
inserted
replaced
36876:27b48ba4fe15 | 36877:f5bbd989e55a |
---|---|
3931 if (mp_dvdnav_stream_has_changed(mpctx->stream)) { | 3931 if (mp_dvdnav_stream_has_changed(mpctx->stream)) { |
3932 double ar = -1.0; | 3932 double ar = -1.0; |
3933 // clear highlight | 3933 // clear highlight |
3934 if (vo_spudec) | 3934 if (vo_spudec) |
3935 spudec_apply_palette_crop(vo_spudec, 0, 0, 0, 0, 0); | 3935 spudec_apply_palette_crop(vo_spudec, 0, 0, 0, 0, 0); |
3936 osd_set_nav_box(0, 0, 0, 0); | |
3937 vo_osd_changed(OSDTYPE_DVDNAV); | |
3938 vo_osd_changed(OSDTYPE_SPU); | |
3936 if (mpctx->sh_video && | 3939 if (mpctx->sh_video && |
3937 stream_control(mpctx->demuxer->stream, | 3940 stream_control(mpctx->demuxer->stream, |
3938 STREAM_CTRL_GET_ASPECT_RATIO, &ar) | 3941 STREAM_CTRL_GET_ASPECT_RATIO, &ar) |
3939 != STREAM_UNSUPPORTED) | 3942 != STREAM_UNSUPPORTED) |
3940 mpctx->sh_video->stream_aspect = ar; | 3943 mpctx->sh_video->stream_aspect = ar; |