Skip to content

Commit

Permalink
differentiate from plain 'jpeg' encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Feb 9, 2023
1 parent d9dba90 commit a7f6608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/codecs/nvjpeg/encoder.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def get_spec(encoding, colorspace):
from xpra.codecs.codec_constants import video_spec
return video_spec("jpeg", input_colorspace=colorspace, output_colorspaces=(colorspace, ),
has_lossless_mode=False,
codec_class=Encoder, codec_type="jpeg",
codec_class=Encoder, codec_type="nvjpeg",
setup_cost=20, cpu_cost=0, gpu_cost=100,
min_w=16, min_h=16, max_w=16*1024, max_h=16*1024,
can_scale=True,
Expand Down

0 comments on commit a7f6608

Please sign in to comment.