diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8e8077b79..5d034b223 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -24,10 +24,17 @@ Major: - Drop FFmpeg 6. - Remove ``AVError`` alias (use ``FFmpegError`` directly instead). - Remove the `template` arg from ``OutputContainer.add_stream()``. +- Remove ``CodecContext.close()`` because it's deprecated in ffmpeg. Features: - Add ``OutputContainer.add_stream_from_template()`` by :gh-user:`WyattBlue` and :gh-user:`cdce8p`. +- Add ``qmin`` and ``qmax`` parameters to the ``VideoCodecContext`` by :gh-user:`davidplowman` in (:pr:`1618`). + +Fixes: + +- Correct ``Colorspace``'s lowercase enums. +- Ensure streams in StreamContainer are released. Fixes :issue:`1599`. v13.1.0 ------- diff --git a/av/video/reformatter.pyx b/av/video/reformatter.pyx index 7e2b4c022..4511d08af 100644 --- a/av/video/reformatter.pyx +++ b/av/video/reformatter.pyx @@ -33,7 +33,7 @@ class Colorspace(IntEnum): itu709 = lib.SWS_CS_ITU709 fcc = lib.SWS_CS_FCC itu601 = lib.SWS_CS_ITU601 - itu624 = lib.SWS_CS_SMPTE170M + itu624 = lib.SWS_CS_ITU624 smpte170m = lib.SWS_CS_SMPTE170M smpte240m = lib.SWS_CS_SMPTE240M default = lib.SWS_CS_DEFAULT