Skip to content

Commit 0f19581

Browse files
committed
Update changelog
1 parent 085b4d2 commit 0f19581

3 files changed

Lines changed: 18 additions & 7 deletions

File tree

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ def _reformat(
229229
# We want to change the colorspace/color_range transforms.
230230
# We do that by grabbing all the current settings, changing a
231231
# couple, and setting them all. We need a lot of state here.
232-
inv_tbl: cython.p_int
233-
tbl: cython.p_int
232+
inv_tbl: cython.p_const_int
233+
tbl: cython.p_const_int
234234
src_colorspace_range: cython.int
235235
dst_colorspace_range: cython.int
236236
brightness: cython.int

include/libswscale/swscale.pxd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ cdef extern from "libswscale/swscale.h" nogil:
5858
cdef const int* sws_getCoefficients(int colorspace)
5959
cdef int sws_getColorspaceDetails(
6060
SwsContext *context,
61-
int **inv_table,
61+
const int **inv_table,
6262
int *srcRange,
63-
int **table,
63+
const int **table,
6464
int *dstRange,
6565
int *brightness,
6666
int *contrast,

0 commit comments

Comments
 (0)