From 5a99015acf184a2989ea7ebf50ab2c990be41125 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 14 Nov 2019 13:46:03 +0100 Subject: stream_lavf: set --network-timeout to 60 seconds by default Until now, we've made FFmpeg use the default network timeout - which is apparently infinite. I don't know if this was changed at some point, although it seems likely, as I was sure there was a more useful default. For most use cases, a smaller timeout is more useful (for example recording something in the background), so force a timeout of 1 minute. See: #5793 --- stream/stream.h | 1 + 1 file changed, 1 insertion(+) (limited to 'stream/stream.h') diff --git a/stream/stream.h b/stream/stream.h index d054e54914..aa764818b7 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -243,6 +243,7 @@ char *mp_file_get_path(void *talloc_ctx, bstr url); // stream_lavf.c struct AVDictionary; void mp_setup_av_network_options(struct AVDictionary **dict, + const char *target_fmt, struct mpv_global *global, struct mp_log *log); -- cgit v1.2.3