diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-11-22 19:12:00 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-11-22 19:12:00 +0000 |
commit | c29a86de787e9632b9d0e0b50fa64f758c5f3be4 (patch) | |
tree | 4deca8de2fdffb9503c1c8002305d261942a72c3 | |
parent | 0f691162bcdedab3a1e4c095825c6926b6f1e01f (diff) | |
download | xine-lib-c29a86de787e9632b9d0e0b50fa64f758c5f3be4.tar.gz xine-lib-c29a86de787e9632b9d0e0b50fa64f758c5f3be4.tar.bz2 |
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
-rw-r--r-- | src/xine-engine/demux.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 ); } |