mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 17:42:17 +00:00
at titleset change call update_title_len() to reset stream->end_pos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19899 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
aa278680ac
commit
a26e041c79
@ -311,6 +311,10 @@ static int fill_buffer(stream_t *s, char *but, int len)
|
||||
switch (event) {
|
||||
case DVDNAV_STOP: return len;
|
||||
case DVDNAV_BLOCK_OK: return len;
|
||||
case DVDNAV_VTS_CHANGE: {
|
||||
update_title_len(s);
|
||||
break;
|
||||
}
|
||||
#if 0
|
||||
case DVDNAV_STILL_FRAME: {
|
||||
if(!dvdnav_priv->stillok) dvdnav_priv->stillcounter++;
|
||||
|
Loading…
Reference in New Issue
Block a user