stream_dvd: add a stream_seek() call

This fixes use of -chapter together with -correct-pts and demux_lavf and
stream_dvd.
This commit is contained in:
Rudolf Polzer 2012-12-07 16:44:53 +01:00
parent f62c670709
commit df28eac342
1 changed files with 2 additions and 0 deletions

View File

@ -490,6 +490,8 @@ static int seek_to_chapter(stream_t *stream, ifo_handle_t *vts_file, tt_srpt_t *
d->angle_seek = 0;
pos = (int64_t) d->cur_pack * 2048;
stream_seek(stream, pos);
mp_msg(MSGT_OPEN,MSGL_V,"\r\nSTREAM_DVD, seeked to chapter: %d, cell: %u, pos: %"PRIu64"\n",
chapter, d->cur_pack, pos);