summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvb.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-30 16:06:59 +0200
committerwm4 <wm4@nowhere>2013-07-30 16:15:36 +0200
commit1848be363ecbd18b5c579dc6ef041a0510500f88 (patch)
treefffc76f8c356336a6c872bb0fa7bcf586d8a6bd2 /stream/stream_dvb.c
parent06996810bfdb397aad766d66aa655c4625a7a253 (diff)
downloadmpv-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_dvb.c')
-rw-r--r--stream/stream_dvb.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c
index 53761e8f60..bd2b174807 100644
--- a/stream/stream_dvb.c
+++ b/stream/stream_dvb.c
@@ -74,11 +74,6 @@ stream_defaults =
/// URL definition
static const m_option_t stream_params[] = {
- {"prog", ST_OFF(prog), CONF_TYPE_STRING, 0, 0 ,0, NULL},
- {"card", ST_OFF(card), CONF_TYPE_INT, M_OPT_RANGE, 1, 4, NULL},
- {"timeout",ST_OFF(timeout), CONF_TYPE_INT, M_OPT_RANGE, 1, 30, NULL},
- {"file", ST_OFF(file), CONF_TYPE_STRING, 0, 0 ,0, NULL},
-
{"hostname", ST_OFF(prog), CONF_TYPE_STRING, 0, 0, 0, NULL },
{"username", ST_OFF(card), CONF_TYPE_INT, M_OPT_RANGE, 1, 4, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}