diff --git a/src/FilterPicker.svelte b/src/FilterPicker.svelte index f73cff5..8200a80 100644 --- a/src/FilterPicker.svelte +++ b/src/FilterPicker.svelte @@ -12,8 +12,10 @@ function selectFilters(sel) { if (sel == "video") { - return FILTERS.filter((f) => f.type[0] === "V" || f.type === "N->V"); + // return FILTERS.filter((f) => f.type.startsWith("V") || f.type.endsWith("V")); + return FILTERS.filter((f) => f.type[0] === "V" || (f.type[0] === "|") || f.type === "N->V"); } else if (sel == "audio") { + // return FILTERS.filter((f) => f.type.startsWith("A") || f.type.endsWith("A")); return FILTERS.filter((f) => f.type[0] === "A" || f.type === "N->A"); } else { return [...FILTERS];