From 7bb1afb8eaa7482b43f9ac31b1b93b1bb55789e3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 27 Aug 2014 22:42:53 +0200 Subject: demux_lavf: don't reject av:// if cache is enabled Enabling the cache doesn't make much in this situation, but there's also no reason not to reject it. --- demux/demux_lavf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demux/demux_lavf.c') diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index 16a06829d4..79565993a4 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -234,7 +234,7 @@ static int lavf_check_file(demuxer_t *demuxer, enum demux_check check) priv->filename = remove_prefix(priv->filename, prefixes); char *avdevice_format = NULL; - if (s->type == STREAMTYPE_AVDEVICE) { + if (s->uncached_type == STREAMTYPE_AVDEVICE) { // always require filename in the form "format:filename" char *sep = strchr(priv->filename, ':'); if (!sep) { -- cgit v1.2.3