diff options
Diffstat (limited to 'src')
-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 ); } |