mirror of
https://github.com/facefusion/facefusion.git
synced 2026-06-02 10:51:39 +02:00
ban byte string
This commit is contained in:
@@ -62,7 +62,7 @@ def collect(aom_encoder : AomEncoder) -> bytes:
|
||||
|
||||
packet = aom_library.aom_codec_get_cx_data(aom_encoder, ctypes.byref(packet_cursor))
|
||||
|
||||
return b''.join(output_parts)
|
||||
return bytes().join(output_parts)
|
||||
|
||||
|
||||
def destroy(aom_encoder : AomEncoder) -> None:
|
||||
|
||||
@@ -66,7 +66,7 @@ def collect(vpx_encoder : VpxEncoder) -> bytes:
|
||||
|
||||
packet = vpx_library.vpx_codec_get_cx_data(vpx_encoder, ctypes.byref(packet_cursor))
|
||||
|
||||
return b''.join(output_parts)
|
||||
return bytes().join(output_parts)
|
||||
|
||||
|
||||
def destroy(vpx_encoder : VpxEncoder) -> None:
|
||||
|
||||
Reference in New Issue
Block a user