loadfile: remove minor unneeded things from --lavfi-complex setup

This commit is contained in:
wm4 2018-02-02 17:11:44 +01:00 committed by Kevin Mitchell
parent 880ea467ca
commit 34fe10e159
No known key found for this signature in database
GPG Key ID: 559A34B46A917232
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}