From cfd23b1605c8aebe4d4d2eee845a93f884971677 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 4 Mar 2024 17:08:01 +0700 Subject: [PATCH] remove duplicates --- xpra/codecs/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpra/codecs/video.py b/xpra/codecs/video.py index 31499a4966..823d18ba64 100755 --- a/xpra/codecs/video.py +++ b/xpra/codecs/video.py @@ -114,7 +114,7 @@ def get_hardware_encoders(names=HARDWARE_ENCODER_OPTIONS) -> list[str]: def filt(prefix: str, name: str, inlist, all_fn: Callable, all_options: tuple[str, ...]) -> list[str]: # log("filt%s", (prefix, name, inlist, all_fn, all_list)) - instr = csvstrl(inlist or ()).strip(",") + instr = csvstrl(set(inlist or ())).strip(",") if instr == "none": return []