diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-07-19 11:57:29 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-07-19 11:57:29 +0000 |
commit | b7fe7877763ef6438be1331d24813116d65b1d3f (patch) | |
tree | d2a382ed0b1f7df9d5d44cab415d6ad9b5dbc957 | |
parent | 392c3d2ce5731f17b7996d6ccbe5d04e2e00d25e (diff) | |
download | xine-lib-b7fe7877763ef6438be1331d24813116d65b1d3f.tar.gz xine-lib-b7fe7877763ef6438be1331d24813116d65b1d3f.tar.bz2 |
do not modify the prebuffer offset before the demuxer has actually
accepted the input (fixes high seek lateny with DVDs)
CVS patchset: 5185
CVS date: 2003/07/19 11:57:29
-rw-r--r-- | src/demuxers/demux_rawdv.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/demuxers/demux_rawdv.c b/src/demuxers/demux_rawdv.c index 4163c66a0..d94f0555a 100644 --- a/src/demuxers/demux_rawdv.c +++ b/src/demuxers/demux_rawdv.c @@ -19,7 +19,7 @@ */ /* - * $Id: demux_rawdv.c,v 1.9 2003/07/16 00:52:45 andruil Exp $ + * $Id: demux_rawdv.c,v 1.10 2003/07/19 11:57:29 mroi Exp $ * * demultiplexer for raw dv streams */ @@ -349,11 +349,6 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str this->demux_plugin.get_optional_data = demux_raw_dv_get_optional_data; this->demux_plugin.demux_class = class_gen; - if (!INPUT_IS_SEEKABLE(this->input)) { - /* "live" DV streams require more prebuffering */ - this->stream->metronom_prebuffer = 90000; - } - this->status = DEMUX_FINISHED; switch (stream->content_detection_method) { @@ -379,6 +374,11 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str return NULL; } + if (!INPUT_IS_SEEKABLE(this->input)) { + /* "live" DV streams require more prebuffering */ + this->stream->metronom_prebuffer = 90000; + } + return &this->demux_plugin; } |