summaryrefslogtreecommitdiffstats
path: root/common/msg_control.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-19 19:56:40 +0200
committerwm4 <wm4@nowhere>2016-09-19 19:56:40 +0200
commitce65ea3345b657b624f28587bd7f31466ac145a2 (patch)
treea0777d3875a59091f6a576727a56c22f5853e8f4 /common/msg_control.h
parentb62634c051e5657d60394a10d7ae8a8707f3bcc7 (diff)
downloadmpv-ce65ea3345b657b624f28587bd7f31466ac145a2.tar.bz2
mpv-ce65ea3345b657b624f28587bd7f31466ac145a2.tar.xz
player: make --log-file and --dump-stats freely settable at runtime
Same deal as with the previous commit. We use the file paths to decide when we should attempt to reopen them.
Diffstat (limited to 'common/msg_control.h')
-rw-r--r--common/msg_control.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/msg_control.h b/common/msg_control.h
index d8d9b2e6e9..56091fdc2d 100644
--- a/common/msg_control.h
+++ b/common/msg_control.h
@@ -29,7 +29,6 @@ struct mp_log_buffer *mp_msg_log_buffer_new(struct mpv_global *global,
void mp_msg_log_buffer_destroy(struct mp_log_buffer *buffer);
struct mp_log_buffer_entry *mp_msg_log_buffer_read(struct mp_log_buffer *buffer);
-int mp_msg_open_stats_file(struct mpv_global *global, const char *path);
int mp_msg_find_level(const char *s);
extern const char *const mp_log_levels[MSGL_MAX + 1];