Beta/venv/lib/python3.12/site-packages/av/container/streams.pxd

22 lines
514 B
Cython
Raw Normal View History

2026-02-06 22:23:20 +01:00
cimport libav as lib
from av.stream cimport Stream
from .core cimport Container
cdef class StreamContainer:
cdef list _streams
# For the different types.
cdef readonly tuple video
cdef readonly tuple audio
cdef readonly tuple subtitles
cdef readonly tuple attachments
cdef readonly tuple data
cdef readonly tuple other
cdef add_stream(self, Stream stream)
cdef int _get_best_stream_index(self, Container container, lib.AVMediaType type_enum, Stream related) noexcept