aboutsummaryrefslogtreecommitdiffhomepage
path: root/demux
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-09-06 20:09:44 +0200
committerGravatar wm4 <wm4@nowhere>2016-09-06 20:09:44 +0200
commit9f0e7bb9982eef36bf2f14fd750bbe6a359011ba (patch)
tree61685746bd26bc953e55d37e39bde31b10ff916c /demux
parente66c098228320bdcc13ca975125f7b98b0f23219 (diff)
input, demux_tv: remove some older option access methods
Diffstat (limited to 'demux')
-rw-r--r--demux/demux_tv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demux/demux_tv.c b/demux/demux_tv.c
index 4f1e3ac1c2..005a693732 100644
--- a/demux/demux_tv.c
+++ b/demux/demux_tv.c
@@ -25,8 +25,8 @@ static int demux_open_tv(demuxer_t *demuxer, enum demux_check check)
if (check > DEMUX_CHECK_REQUEST || demuxer->stream->type != STREAMTYPE_TV)
return -1;
- tv_param_t *params = m_sub_options_copy(demuxer, &tv_params_conf,
- demuxer->opts->tv_params);
+ tv_param_t *params = mp_get_config_group(demuxer, demuxer->global,
+ &tv_params_conf);
struct tv_stream_params *sparams = demuxer->stream->priv;
if (sparams->channel && sparams->channel[0]) {
talloc_free(params->channel);