File size: 447 Bytes
ea35292 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | cimport libav as lib
from av.buffer cimport Buffer
from av.bytesource cimport ByteSource
from av.stream cimport Stream
cdef class Packet(Buffer):
cdef lib.AVPacket* ptr
cdef Stream _stream
# We track our own time.
cdef lib.AVRational _time_base
cdef _rebase_time(self, lib.AVRational)
# Hold onto the original reference.
cdef ByteSource source
cdef size_t _buffer_size(self)
cdef void* _buffer_ptr(self)
|