From 7b085d4514d091945492cb00fa5a98bbd1bc7cf8 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Wed, 30 Apr 2008 08:56:45 +0300 Subject: input: Move command bind variables to context struct --- mplayer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mplayer.c') 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 ======================= -- cgit v1.2.3