diff options
author | wm4 <wm4@nowhere> | 2014-11-07 15:54:35 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-07 15:54:35 +0100 |
commit | b814b7ca84a85a6c17c4ab85ae9855afb62bc237 (patch) | |
tree | ced176126a7a58f9b8a6d034d27889f380164d11 /options/options.c | |
parent | 01141198be2beaec58928355b59ce5882027866e (diff) | |
download | mpv-b814b7ca84a85a6c17c4ab85ae9855afb62bc237.tar.bz2 mpv-b814b7ca84a85a6c17c4ab85ae9855afb62bc237.tar.xz |
audio: add --audio-client-name option
The main need I see for this is with libmpv - it would be confusing if
some application showed up as "mpv" on whateverthehell PulseAudio uses
it for (generally it does show up on various PA GUI tools).
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index ef1a383450..c15482fd05 100644 --- a/options/options.c +++ b/options/options.c @@ -352,6 +352,7 @@ const m_option_t mp_opts[] = { OPT_SETTINGSLIST("ao", audio_driver_list, 0, &ao_obj_list), OPT_SETTINGSLIST("ao-defaults", ao_defs, 0, &ao_obj_list), OPT_STRING("audio-device", audio_device, 0), + OPT_STRING("audio-client-name", audio_client_name, 0), OPT_FLAG("fixed-vo", fixed_vo, CONF_GLOBAL), OPT_FLAG("force-window", force_vo, CONF_GLOBAL), OPT_FLAG("ontop", vo.ontop, M_OPT_FIXED), @@ -572,6 +573,7 @@ const struct MPOpts mp_default_opts = { .gapless_audio = -1, .audio_buffer = 0.2, .audio_device = "auto", + .audio_client_name = "mpv", .vo = { .video_driver_list = NULL, .monitor_pixel_aspect = 1.0, |