From 34fe10e1593920879c5d6c69b43abcf402d50fdc Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 2 Feb 2018 17:11:44 +0100 Subject: [PATCH] loadfile: remove minor unneeded things from --lavfi-complex setup --- player/loadfile.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/player/loadfile.c b/player/loadfile.c index 44f0f970ac..758af41f89 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -1057,8 +1057,7 @@ static int reinit_complex_filters(struct MPContext *mpctx, bool force_uninit) continue; if (mp_pin_get_dir(pad) != MP_PIN_IN) continue; - if (mp_pin_is_connected(pad)) - continue; + assert(!mp_pin_is_connected(pad)); assert(!track->sink); if (track->vo_c || track->ao_c) { @@ -1067,7 +1066,6 @@ static int reinit_complex_filters(struct MPContext *mpctx, bool force_uninit) goto done; } track->sink = pad; - mp_pin_set_manual_connection(pad, true); track->selected = true; }