ignore empty (~) custom_filter

This commit is contained in:
jb-alvarado 2022-08-31 10:38:29 +02:00
parent 6fae130b4e
commit 226d43aed3

View File

@ -367,7 +367,7 @@ fn custom_filter(filter: &str, chain: &mut Filters) {
video_filter = strip_str(filter);
} else if filter.contains("[c_a_out]") {
audio_filter = strip_str(filter);
} else if !filter.is_empty() {
} else if !filter.is_empty() && filter != "~" {
error!("Custom filter is not well formatted, use correct out link names (\"[c_v_out]\" and/or \"[c_a_out]\"). Filter skipped!")
}