Voice et bot modif
This commit is contained in:
parent
189d56026b
commit
7333a22bcd
10774 changed files with 634644 additions and 933308 deletions
|
|
@ -7,10 +7,11 @@ from cython.cimports.av.frame import Frame
|
|||
from cython.cimports.av.packet import Packet
|
||||
|
||||
|
||||
@cython.final
|
||||
@cython.cclass
|
||||
class AudioCodecContext(CodecContext):
|
||||
@cython.cfunc
|
||||
def _prepare_frames_for_encode(self, input_frame: Frame | None):
|
||||
def _prepare_frames_for_encode(self, input_frame: Frame | None) -> list:
|
||||
frame: AudioFrame | None = input_frame
|
||||
allow_var_frame_size: cython.bint = (
|
||||
self.ptr.codec.capabilities & lib.AV_CODEC_CAP_VARIABLE_FRAME_SIZE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue