Ensure -filters is in the specials list too

This commit is contained in:
Joshua M. Boniface 2022-06-11 11:32:34 -04:00
parent 7a1caeffe0
commit 7e6a27ac80

View file

@ -258,7 +258,7 @@ def setup_remote_command(target_host):
# Determine if version, encorders, or decoders is an argument; if so, we output stdout to stdout
# Weird workaround for something Jellyfin requires...
specials = ["-version", "-encoders", "-decoders", "-hwaccels", "-h"]
specials = ["-version", "-encoders", "-decoders", "-hwaccels", "-filters", "-h"]
if any(item in specials for item in cli_ffmpeg_args):
stdout = sys.stdout
@ -306,7 +306,7 @@ def run_local_ffmpeg():
# Determine if version, encorders, or decoders is an argument; if so, we output stdout to stdout
# Weird workaround for something Jellyfin requires...
specials = ["-version", "-encoders", "-decoders", "-hwaccels", "-h"]
specials = ["-version", "-encoders", "-decoders", "-hwaccels", "-filters", "-h"]
if any(item in specials for item in cli_ffmpeg_args):
stdout = sys.stdout