From df28eac342ec649068cddd03717f00e81790c523 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 7 Dec 2012 16:44:53 +0100 Subject: stream_dvd: add a stream_seek() call This fixes use of -chapter together with -correct-pts and demux_lavf and stream_dvd. --- stream/stream_dvd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stream') diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index b30092134c..097355bce4 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -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); -- cgit v1.2.3