Skip to content

Commit 1553e30

Browse files
committed
Update changelog
1 parent 085b4d2 commit 1553e30

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

CHANGELOG.rst

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Changelog
44
We are operating with `semantic versioning <https://semver.org>`_.
55

66
..
7-
Update this file in your commit that makes a change (besides maintainence).
7+
Update this file in your commit that makes a change (besides maintenance).
88
99
To make merging/rebasing easier, don't manually break lines in here when they are too long.
1010
To make tracking easier, please add either ``closes #123`` or ``fixes #123`` to the first line of the commit message, when closing/fixing a GitHub issue.
@@ -33,7 +33,18 @@ Major:
3333
- Limited API binary wheels are now built.
3434
- 3.13t (free-threading) will be dropped because of storage limitations.
3535
- When an FFmpeg C function indicates an error, raise av.ArgumentError instead of ValueError/av.ValueError. This helps disambiguate why an exception is being thrown.
36-
- Save space by removing libaom (av1 encoder/decoder); dav1d, stvav1, and hardware, are available.
36+
- Save space by removing libaom (av1 encoder/decoder); dav1d, stvav1, and hardware, are available alternatives.
37+
38+
Features:
39+
40+
- Use zero-copy for Packet init from buffer data by :gh-user:`WyattBlue` in (:pr:`2199`).
41+
- Expose AVIndexEntry by :gh-user:`Queuecumber` in (:pr:`2136`).
42+
- Preserving hardware memory during cuvid decoding, exporting/importing via dlpack by :gh-user:`WyattBlue` in (:pr:`2155`).
43+
44+
Fixes:
45+
46+
- Fix :issue:`2149` by :gh-user:`WyattBlue` in (:pr:`2155`).
47+
- Fix packet typing based on stream and specify InputContainer.demux based on incoming stream by :gh-user:`ntjohnson1` in (:pr:`2134`).
3748

3849
v16.1.0
3950
-------
@@ -45,7 +56,7 @@ Features:
4556
- Add subtitle encoding support by :gh-user:`skeskinen` in (:pr:`2050`).
4657
- Add read/write access to PacketSideData by :gh-user:`skeskinen` in (:pr:`2051`).
4758
- Add yuv422p support for video frame to_ndarray and from_ndarray by :gh-user:`wader` in (:pr:`2054`).
48-
- Add binding for ``avcodec_find_best_pix_fmt_of_list()`` by :gh-user:`ndeybach` (:pr:`2058`).
59+
- Add binding for ``avcodec_find_best_pix_fmt_of_list()`` by :gh-user:`ndeybach` in (:pr:`2058`).
4960

5061
Fixes:
5162

av/video/reformatter.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,13 @@ def _reformat(
255255
# Grab the coefficients for the requested transforms.
256256
# The inv_table brings us to linear, and `tbl` to the new space.
257257
if src_colorspace != lib.SWS_CS_DEFAULT:
258-
inv_tbl = lib.sws_getCoefficients(src_colorspace)
258+
inv_tbl = cython.cast(
259+
cython.p_int, lib.sws_getCoefficients(src_colorspace)
260+
)
259261
if dst_colorspace != lib.SWS_CS_DEFAULT:
260-
tbl = lib.sws_getCoefficients(dst_colorspace)
262+
tbl = cython.cast(
263+
cython.p_int, lib.sws_getCoefficients(dst_colorspace)
264+
)
261265

262266
ret = lib.sws_setColorspaceDetails(
263267
self.ptr,

0 commit comments

Comments
 (0)