diff options
author | wm4 <wm4@nowhere> | 2016-09-09 17:36:01 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-09 17:54:35 +0200 |
commit | 5324fb731f6ea866e9804c659417c231157d4d75 (patch) | |
tree | 930dca8574f5a3705e76e12c42eb0f73b01dc224 /stream/stream_tv.c | |
parent | 9213db0d492de3ca94a92116aec969597642d83e (diff) | |
download | mpv-5324fb731f6ea866e9804c659417c231157d4d75.tar.bz2 mpv-5324fb731f6ea866e9804c659417c231157d4d75.tar.xz |
tv: remove weird option parsing stuff
Mostly untested.
Diffstat (limited to 'stream/stream_tv.c')
-rw-r--r-- | stream/stream_tv.c | 17 |
1 files changed, 0 insertions, 17 deletions
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 <stdio.h> -#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 - }, }; |