Skip to content

Commit

Permalink
#3592 missed from 20bb5f0
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 26, 2023
1 parent 7b65464 commit 6171915
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions tests/xpra/codecs/test_single_frame_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
def main(files):
assert len(files)>0, "specify images to use for benchmark"
avcodec = load_codec("dec_avcodec2")
swscale = load_codec("csc_swscale")
assert avcodec, "dec_avcodec is required"
assert swscale, "swscale is required"
encoders = []
ENCODERS = os.environ.get("XPRA_ENCODERS", "enc_vpx,enc_x264,enc_x265,nvenc,enc_ffmpeg").split(",")
for encoder in ENCODERS:
Expand Down
2 changes: 1 addition & 1 deletion xpra/codecs/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def filt(*values) -> Tuple[str,...]:
return tuple(x for x in values if all(x.find(s)<0 for s in SKIP_LIST))


CSC_CODECS : Tuple[str,...] = filt("csc_swscale", "csc_cython", "csc_libyuv")
CSC_CODECS : Tuple[str,...] = filt("csc_cython", "csc_libyuv")
ENCODER_CODECS : Tuple[str,...] = filt("enc_rgb", "enc_pillow", "enc_spng", "enc_webp", "enc_jpeg", "enc_nvjpeg", "enc_avif")
ENCODER_VIDEO_CODECS : Tuple[str,...] = filt("enc_vpx", "enc_x264", "enc_x265", "enc_openh264", "nvenc", "enc_gstreamer")
DECODER_CODECS : Tuple[str,...] = filt("dec_pillow", "dec_spng", "dec_webp", "dec_jpeg", "dec_nvjpeg", "dec_avif", "dec_gstreamer")
Expand Down

0 comments on commit 6171915

Please sign in to comment.