From 5324fb731f6ea866e9804c659417c231157d4d75 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 9 Sep 2016 17:36:01 +0200 Subject: tv: remove weird option parsing stuff Mostly untested. --- stream/stream_tv.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'stream') diff --git a/stream/stream_tv.c b/stream/stream_tv.c index 9c8861dcea..435e3e7b54 100644 --- a/stream/stream_tv.c +++ b/stream/stream_tv.c @@ -31,13 +31,6 @@ #include -#define OPT_BASE_STRUCT struct tv_stream_params -static const m_option_t stream_opts_fields[] = { - OPT_STRING("channel", channel, 0), - OPT_INT("input", input, 0), - {0} -}; - static void tv_stream_close (stream_t *stream) { @@ -58,14 +51,4 @@ const stream_info_t stream_info_tv = { .name = "tv", .open = tv_stream_open, .protocols = (const char*const[]){ "tv", NULL }, - .priv_size = sizeof(tv_param_t), - .priv_defaults = &(const struct tv_stream_params){ - .input = -1, - }, - .options = stream_opts_fields, - .url_options = (const char*const[]){ - "hostname=channel", - "filename=input", - NULL - }, }; -- cgit v1.2.3