summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 17:44:22 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 17:44:22 +0000
commit1e30c2e5aeb0faadab006a6664fad22b5d3ce4f5 (patch)
tree57cfa34d9ba2bfe7e8b6b976447541e2dc9f7074 /mplayer.c
parent293c11d3b248a2a1e7d1c8e36c24178880974d6a (diff)
downloadmpv-1e30c2e5aeb0faadab006a6664fad22b5d3ce4f5.tar.bz2
mpv-1e30c2e5aeb0faadab006a6664fad22b5d3ce4f5.tar.xz
keep nav highlight event in dvdnav priv structure
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21235 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mplayer.c b/mplayer.c
index 2c389330e4..11f0f2b2d2 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -4729,10 +4729,9 @@ if(auto_quality>0){
#ifdef USE_DVDNAV
if (stream->type == STREAMTYPE_DVDNAV) {
nav_highlight_t hl;
-
- mp_dvdnav_get_highlight (&hl);
- if (hl.sx != 0 && hl.sy != 0) /* highlighting on */
- vo_osd_changed (OSDTYPE_DVDNAV);
+ mp_dvdnav_get_highlight (stream, &hl);
+ osd_set_nav_box (hl.sx, hl.sy, hl.ex, hl.ey);
+ vo_osd_changed (OSDTYPE_DVDNAV);
}
#endif