File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 9393NVIMGCODEC_MODULE_NAME = "nvidia.nvimgcodec" # from nvidia-nvimgcodec-cu12 or other variants
9494NVIMGCODEC_MIN_VERSION = "0.6"
9595NVIMGCODEC_MIN_VERSION_TUPLE = tuple (int (x ) for x in NVIMGCODEC_MIN_VERSION .split ("." ))
96- NVIMGCODEC_PLUGIN_LABEL = "0.6+nvimgcodec" # helps sorting to be the first in the plugin list
96+ NVIMGCODEC_PLUGIN_LABEL = "0.6+nvimgcodec" # to be sorted to first in ascending order of plugins
9797NVIMGCODEC_PLUGIN_FUNC_NAME = "_decode_frame"
9898
9999# Supported decoder classes of the corresponding transfer syntaxes by this decoder plugin.
@@ -240,7 +240,7 @@ def register_as_decoder_plugin(module_path: str | None = None) -> bool:
240240 decoder_class ._available = dict (sorted (decoder_class ._available .items (), key = lambda item : item [0 ]))
241241 _logger .info (
242242 f"Registered decoder plugin { NVIMGCODEC_PLUGIN_LABEL } for transfer syntax { decoder_class .UID } : "
243- f"{ decoder_class .available_plugins } "
243+ f"{ decoder_class ._available } "
244244 )
245245 _logger .info (f"Registered nvimgcodec decoder plugin with { len (SUPPORTED_DECODER_CLASSES )} decoder classes." )
246246
You can’t perform that action at this time.
0 commit comments