summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 20:11:45 +0100
committerwm4 <wm4@nowhere>2013-12-21 21:43:16 +0100
commit8cd1b33a22bef714e1185bc8e435d68530caac09 (patch)
treea607f077ab9b66847e80fed93e8e5aee7a9e50a0 /video/out/x11_common.c
parent9428e05b3f15146d47851d5e9da334dfc59a55a1 (diff)
downloadmpv-8cd1b33a22bef714e1185bc8e435d68530caac09.tar.bz2
mpv-8cd1b33a22bef714e1185bc8e435d68530caac09.tar.xz
x11: mp_msg conversion for fstype help output
Diffstat (limited to 'video/out/x11_common.c')
-rw-r--r--video/out/x11_common.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index 55a11e81b3..494ba40eda 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -237,16 +237,13 @@ static const struct fstype fstypes[] = {
{0},
};
-void fstype_help(void)
+void fstype_help(struct mp_log *log)
{
- mp_msg(MSGT_VO, MSGL_INFO, "Available fullscreen layer change modes:\n");
- for (int n = 0; fstypes[n].sym; n++) {
- mp_msg(MSGT_VO, MSGL_INFO, " %-15s %s\n", fstypes[n].sym,
- fstypes[n].help);
- }
- mp_msg(MSGT_VO, MSGL_INFO,
- "You can also negate the settings with simply putting '-' in the beginning");
- mp_msg(MSGT_VO, MSGL_INFO, "\n");
+ mp_info(log, "Available fullscreen layer change modes:\n");
+ for (int n = 0; fstypes[n].sym; n++)
+ mp_info(log, " %-15s %s\n", fstypes[n].sym, fstypes[n].help);
+ mp_info(log,
+ "You can also negate the settings with simply putting '-' in the beginning\n");
}
static void fstype_dump(struct vo_x11_state *x11)