aboutsummaryrefslogtreecommitdiffhomepage
path: root/mplayer.c
diff options
context:
space:
mode:
authorGravatar Uoti Urpala <uau@symbol.nonexistent.invalid>2008-04-30 08:56:45 +0300
committerGravatar Uoti Urpala <uau@symbol.nonexistent.invalid>2008-04-30 13:24:56 +0300
commit7b085d4514d091945492cb00fa5a98bbd1bc7cf8 (patch)
treea81e0f5b201899a71645e87e69a1a9408373b2ee /mplayer.c
parent9e9932d4d79fee2cd03ea8b88ee7281a7858837f (diff)
input: Move command bind variables to context struct
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mplayer.c b/mplayer.c
index 2dc22c1610..ccf93867b7 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3655,9 +3655,9 @@ if ( use_gui ) {
}
#endif
-mp_input_set_section(NULL);
+ mp_input_set_section(mpctx->input, NULL);
//TODO: add desired (stream-based) sections here
-if (mpctx->stream->type==STREAMTYPE_TV) mp_input_set_section("tv");
+ if (mpctx->stream->type==STREAMTYPE_TV) mp_input_set_section(mpctx->input, "tv");
//==================== START PLAYING =======================