summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_dvdnav.c')
-rw-r--r--stream/stream_dvdnav.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index b1eead3b25..dc50f4f14b 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -303,6 +303,8 @@ static int fill_buffer(stream_t *s, char *but, int len)
mp_msg(MSGT_CPLAYER,MSGL_ERR, "DVDNAV stream read error!\n");
return 0;
}
+ if (event != DVDNAV_BLOCK_OK)
+ dvdnav_get_highlight (priv, 1);
switch (event) {
case DVDNAV_STOP: {
priv->state |= NAV_FLAG_EOF;
@@ -347,6 +349,7 @@ static int fill_buffer(stream_t *s, char *but, int len)
if(dvdnav_current_title_info(priv->dvdnav, &tit, &part) == DVDNAV_STATUS_OK && part > dvd_last_chapter)
return 0;
}
+ dvdnav_get_highlight (priv, 1);
}
break;
}