summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-09-19 16:14:24 -0500
committerDudemanguy <random342@airmail.cc>2023-09-22 14:20:38 +0000
commit6ea9ec9931d3cb65f812b79fec6c14eab7d05070 (patch)
tree6893483f646ad0a17ab6ee1e9e8e92f4dcc89cde /options/options.c
parentb2edd4312d06de7ced543e2e389c1e3866c27755 (diff)
downloadmpv-6ea9ec9931d3cb65f812b79fec6c14eab7d05070.tar.bz2
mpv-6ea9ec9931d3cb65f812b79fec6c14eab7d05070.tar.xz
stream_cdda: move cdrom-device to cdda_params
There is zero reason for this to be an MPOpt. Because of how the OPT_SUBSTRACT works, the option gets renamed to cdda-device instead, but probably not a big deal since the old alias is still in place.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c
index 5e893c4b86..c6a0873b31 100644
--- a/options/options.c
+++ b/options/options.c
@@ -547,7 +547,7 @@ static const m_option_t mp_opts[] = {
#if HAVE_CDDA
{"cdda", OPT_SUBSTRUCT(stream_cdda_opts, stream_cdda_conf)},
- {"cdrom-device", OPT_STRING(cdrom_device), .flags = M_OPT_FILE},
+ {"cdrom-device", OPT_REPLACED("cdda-device")},
#endif
// demuxer.c - select audio/sub file/demuxer