summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-30 08:56:45 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-30 13:24:56 +0300
commit7b085d4514d091945492cb00fa5a98bbd1bc7cf8 (patch)
treea81e0f5b201899a71645e87e69a1a9408373b2ee /command.c
parent9e9932d4d79fee2cd03ea8b88ee7281a7858837f (diff)
downloadmpv-7b085d4514d091945492cb00fa5a98bbd1bc7cf8.tar.bz2
mpv-7b085d4514d091945492cb00fa5a98bbd1bc7cf8.tar.xz
input: Move command bind variables to context struct
Diffstat (limited to 'command.c')
-rw-r--r--command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/command.c b/command.c
index 1c2e159bb1..70b924cac2 100644
--- a/command.c
+++ b/command.c
@@ -1924,9 +1924,9 @@ static int mp_property_teletext_mode(m_option_t *prop, int action, void *arg,
return result;
if(tvh->functions->control(tvh->priv, prop->priv, &val)==TVI_CONTROL_TRUE && val)
- mp_input_set_section("teletext");
+ mp_input_set_section(mpctx->input, "teletext");
else
- mp_input_set_section("tv");
+ mp_input_set_section(mpctx->input, "tv");
return M_PROPERTY_OK;
}