diff options
author | wm4 <wm4@nowhere> | 2013-07-30 16:06:59 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-30 16:15:36 +0200 |
commit | 1848be363ecbd18b5c579dc6ef041a0510500f88 (patch) | |
tree | fffc76f8c356336a6c872bb0fa7bcf586d8a6bd2 /stream/stream_cdda.c | |
parent | 06996810bfdb397aad766d66aa655c4625a7a253 (diff) | |
download | mpv-1848be363ecbd18b5c579dc6ef041a0510500f88.tar.bz2 mpv-1848be363ecbd18b5c579dc6ef041a0510500f88.tar.xz |
stream: remove inactive URL option fields
The URL option parser only accesses certain fields. Remove the fields
that are not accessed, and thus are completely unused and inaccessible.
Historically, these fields were supposed to be settable using an extra
list of options passed to open_stream(). Commit f518cf7 removed these
extra options. Apparently nothing ever actually used this facility.
Diffstat (limited to 'stream/stream_cdda.c')
-rw-r--r-- | stream/stream_cdda.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c index f245a6fe94..1c8e2ca2d6 100644 --- a/stream/stream_cdda.c +++ b/stream/stream_cdda.c @@ -79,21 +79,6 @@ static struct cdda_params { #define ST_OFF(f) M_ST_OFF(struct cdda_params, f) static const m_option_t cdda_params_fields[] = { - {"speed", ST_OFF(speed), CONF_TYPE_INT, M_OPT_RANGE, 0, 100, NULL}, - {"paranoia", ST_OFF(paranoia_mode), CONF_TYPE_INT, M_OPT_RANGE, 0, 2, - NULL}, - {"generic-dev", ST_OFF(generic_dev), CONF_TYPE_STRING, 0, 0, 0, NULL}, - {"sector-size", ST_OFF(sector_size), CONF_TYPE_INT, M_OPT_RANGE, 1, 100, - NULL}, - {"overlap", ST_OFF(search_overlap), CONF_TYPE_INT, M_OPT_RANGE, -1, 75, - NULL}, - {"toc-bias", ST_OFF(toc_bias), CONF_TYPE_INT, 0, 0, 0, NULL}, - {"toc-offset", ST_OFF(toc_offset), CONF_TYPE_INT, 0, 0, 0, NULL}, - {"noskip", ST_OFF(no_skip), CONF_TYPE_FLAG, 0, 0, 1, NULL}, - {"skip", ST_OFF(no_skip), CONF_TYPE_FLAG, 0, 1, 0, NULL}, - {"device", ST_OFF(device), CONF_TYPE_STRING, 0, 0, 0, NULL}, - {"span", ST_OFF(span), CONF_TYPE_INT_PAIR, 0, 0, 0, NULL}, - /// For url parsing {"hostname", ST_OFF(span), CONF_TYPE_INT_PAIR, 0, 0, 0, NULL}, {"port", ST_OFF(speed), CONF_TYPE_INT, M_OPT_RANGE, 1, 100, NULL}, {"filename", ST_OFF(device), CONF_TYPE_STRING, 0, 0, 0, NULL}, |