Mercurial > mplayer.hg
changeset 36551:a5764687ff8d
mf: Fix initial hang/delay with mf://
The mf:// type is not actually a stream, so do not try to
cache its output.
Otherwise the read failures will be interpreted as connection
errors and our retry routine kicks in, this causing the delay.
author | reimar |
---|---|
date | Sun, 19 Jan 2014 18:42:42 +0000 |
parents | ecba0563cd4a |
children | 79358001ddb2 |
files | stream/stream_mf.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream_mf.c Sun Jan 19 17:33:05 2014 +0000 +++ b/stream/stream_mf.c Sun Jan 19 18:42:42 2014 +0000 @@ -32,6 +32,7 @@ mf_stream_open (stream_t *stream, int mode, void *opts, int *file_format) { stream->type = STREAMTYPE_MF; + stream->flags = STREAM_NON_CACHEABLE; *file_format = DEMUXER_TYPE_MF; return STREAM_OK;