Skip to content

Commit 0529bdd

Browse files
committed
libheif_info always return x265 and aom keys in result
1 parent a346d96 commit 0529bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pillow_heif/_lib_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def libheif_info() -> dict:
3232
decoders[format_id.name] = have_decoder_for_format(format_id)
3333
encoders[format_id.name] = have_encoder_for_format(format_id)
3434

35-
_version = {"libheif": libheif_version()}
35+
_version = {"libheif": libheif_version(), "x265": "", "aom": ""}
3636
p_enc_desc = ffi.new("struct heif_encoder_descriptor**")
3737
if lib.heif_context_get_encoder_descriptors(ffi.NULL, HeifCompressionFormat.HEVC, ffi.NULL, p_enc_desc, 1):
3838
p_enc_name = lib.heif_encoder_descriptor_get_name(p_enc_desc[0])

0 commit comments

Comments
 (0)