Skip to content

Commit

Permalink
ensure var is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 7, 2025
1 parent f662d65 commit 8fd30ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xpra/server/encoder/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def _process_encode(self, proto: SocketProtocol, packet: PacketType) -> None:
msg = f"no video encoders found for {encoding!r} and {pixel_format!r}"
log(msg)
especs = getVideoHelper().get_encoder_specs(encoding)
input_cs_options = ()
if especs:
input_cs_options = tuple(especs.keys())
image = csc_image(image, input_cs_options)
Expand Down

0 comments on commit 8fd30ec

Please # to comment.