# HG changeset patch # User reimar # Date 1390156962 0 # Node ID a5764687ff8dbf791e92f4f120f7241aeb0feb35 # Parent ecba0563cd4adc7235b70fd268db133ae84f2fec 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. diff -r ecba0563cd4a -r a5764687ff8d stream/stream_mf.c --- 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;