From c854ce934ec615bc04fe47f6c139a6a152aba8c1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 19 Oct 2014 16:36:38 +0200 Subject: audio: quote devices in --audio-device=help The output is a bit confusing. Quoting the device name probably helps a little bit; also add minimal explanations to the manpage. --- audio/out/ao.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/out/ao.c b/audio/out/ao.c index 0b722eb57a..0873b18e68 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -439,7 +439,7 @@ void ao_print_devices(struct mpv_global *global, struct mp_log *log) mp_info(log, "List of detected audio devices:\n"); for (int n = 0; n < list->num_devices; n++) { struct ao_device_desc *desc = &list->devices[n]; - mp_info(log, " %s (%s)\n", desc->name, desc->desc); + mp_info(log, " '%s' (%s)\n", desc->name, desc->desc); } talloc_free(list); } -- cgit v1.2.3