mirror of
https://github.com/IllusionMan1212/ffui.git
synced 2026-10-24 02:12:35 +00:00
feat: allow selection for files to be encoded in a directory
This commit is contained in:
+3
-1
@@ -3,7 +3,9 @@ package main
|
||||
import "testing"
|
||||
|
||||
func TestFilterConfigs(t *testing.T) {
|
||||
cfgs := filter(Configs, "Preset", "Constant Rate Factor (CRF)")
|
||||
cfgs := filter(Configs, func(c Config) bool {
|
||||
return c.Name != "Preset" && c.Name != "Constant Rate Factor (CRF)"
|
||||
})
|
||||
|
||||
for _, cfg := range cfgs {
|
||||
if cfg.Name == "Preset" {
|
||||
|
||||
Reference in New Issue
Block a user