[MPlayer-cvslog] r36647 - trunk/stream/stream_mf.c
reimar
subversion at mplayerhq.hu
Sun Jan 19 19:42:42 CET 2014
Author: reimar
Date: Sun Jan 19 19:42:42 2014
New Revision: 36647
Log:
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.
Modified:
trunk/stream/stream_mf.c
Modified: trunk/stream/stream_mf.c
==============================================================================
--- trunk/stream/stream_mf.c Sun Jan 19 18:33:05 2014 (r36646)
+++ trunk/stream/stream_mf.c Sun Jan 19 19:42:42 2014 (r36647)
@@ -32,6 +32,7 @@ static int
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;
More information about the MPlayer-cvslog
mailing list