Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ We are operating with `semantic versioning <https://semver.org>`_.
- Bug fixes (PATCH) go here.
- $CHANGE by :gh-user:`mikeboers` in (:pr:`1`).


v19.0.1
-------

Fixes:



v19.0.0
-------

Expand Down
2 changes: 1 addition & 1 deletion av/about.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "19.0.0"
__version__ = "19.0.1pre0"
9 changes: 0 additions & 9 deletions av/stream.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,14 @@ cimport libav as lib
from av.codec.context cimport CodecContext
from av.container.core cimport Container
from av.frame cimport Frame
from av.index cimport IndexEntries
from av.packet cimport Packet


cdef class Stream:
cdef lib.AVStream *ptr

# Stream attributes.
cdef readonly Container container
cdef readonly dict metadata

# CodecContext attributes.
cdef readonly CodecContext codec_context

cdef readonly IndexEntries index_entries

# Private API.
cdef void _init(self, Container, lib.AVStream*, CodecContext)
cdef bint _is_open(self)
cdef void _assert_open(self)
Expand Down
5 changes: 4 additions & 1 deletion av/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ def _init(
) -> cython.void:
self.container = container
self.ptr = stream
self.index_entries = wrap_index_entries(self)

self.codec_context = codec_context

Expand Down Expand Up @@ -187,6 +186,10 @@ def _finalize_for_output(self) -> cython.void:
)
)

@property
def index_entries(self):
return wrap_index_entries(self)

@property
def id(self):
"""
Expand Down
3 changes: 2 additions & 1 deletion av/stream.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ class Stream:
codec: Codec
codec_context: CodecContext
metadata: dict[str, str]
index_entries: IndexEntries
@property
def index_entries(self) -> IndexEntries: ...
id: int
profiles: list[str]
profile: str | None
Expand Down
Loading