From c29a86de787e9632b9d0e0b50fa64f758c5f3be4 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Fri, 22 Nov 2002 19:12:00 +0000 Subject: HELP! My latest engine patch slightly broke the seeking, so I revert this part. It should not cause much trouble now, but improves seeking a lot. CVS patchset: 3340 CVS date: 2002/11/22 19:12:00 --- src/xine-engine/demux.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xine-engine/demux.c b/src/xine-engine/demux.c index 027743ed2..5f4ce9d70 100644 --- a/src/xine-engine/demux.c +++ b/src/xine-engine/demux.c @@ -65,6 +65,11 @@ void xine_demux_flush_engine (xine_stream_t *stream) { if (stream->audio_out) { stream->audio_out->flush(stream->audio_out); } + + /* FIXME: Messing with the clock is bad as long as the clock is global to all streams. + * But it is currently the best solution to have good seeking performance. */ + stream->xine->clock->adjust_clock(stream->xine->clock, + stream->xine->clock->get_current_time(stream->xine->clock) + 30 * 90000 ); } -- cgit v1.2.3