Skip to content

Commit

Permalink
#2642 fix instantiation of csc modules
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 8, 2023
1 parent 36b1573 commit bb91030
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xpra/client/gui/window_backing_base.py
Expand Up @@ -13,7 +13,6 @@
from collections.abc import Callable, Iterable
from gi.repository import GLib # @UnresolvedImport

import xpra.util.types
from xpra.net.mmap import mmap_read
from xpra.net import compression
from xpra.util.types import typedict
Expand Down Expand Up @@ -688,7 +687,7 @@ def make_csc(self, src_width:int, src_height:int, src_format:str,
continue
options = {"speed" : speed}
try:
csc = xpra.util.types.make_instance()
csc = spec.codec_class()
csc.init_context(src_width, src_height, src_format,
dst_width, dst_height, dst_format, options)
return csc
Expand Down

0 comments on commit bb91030

Please sign in to comment.