mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -325,7 +325,6 @@ typedef struct MPOpts {
|
||||
struct dvb_params *stream_dvb_opts;
|
||||
struct stream_lavf_params *stream_lavf_opts;
|
||||
|
||||
char *cdrom_device;
|
||||
char *bluray_device;
|
||||
|
||||
struct demux_rawaudio_opts *demux_rawaudio;
|
||||
|
||||
Reference in New Issue
Block a user