From 8017fa541ac0b356c3210c07a438ec3ed315d316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 18 Dec 2023 11:03:13 +0200 Subject: [PATCH] Update CHANGELOG.md for 0.21.3 --- gstreamer/CHANGELOG.md | 19 ++++++++++++++++++- gstreamer/src/memory.rs | 2 +- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/gstreamer/CHANGELOG.md b/gstreamer/CHANGELOG.md index 2d14f2f55..c03d9deff 100644 --- a/gstreamer/CHANGELOG.md +++ b/gstreamer/CHANGELOG.md @@ -5,6 +5,22 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html), specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-version-field). +## [0.21.3] - 2023-12-18 +### Added +- Update GStreamer gir files to latest (upcoming) 1.24 APIs. +- Add an example for writing subclasses with virtual methods. +- Add `gst::ClockTime::absdiff()` and same for similar types. + +### Fixed +- In `Play` example, set bus to flushing before dropping `Play` instance. +- Add missing `docsrs` configuration for correct documentation generation. +- Make `gst_pbutils::element_properties` module public. +- Add missing `gst_audio::AudioFilterImpl::parent_allowed_caps()`. +- Fix assertions in `gst::Memory` copy/share/resize functions. + +### Changed +- Update to itertool 0.12, pretty-hex 0.4. + ## [0.21.2] - 2023-11-11 ### Changed - Update GStreamer gir files to latest (upcoming) 1.24 APIs. @@ -1597,7 +1613,8 @@ specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-v (< 0.8.0) of the bindings can be found [here](https://github.com/arturoc/gstreamer1.0-rs). The API of the two is incompatible. -[Unreleased]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.21.2...HEAD +[Unreleased]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.21.3...HEAD +[0.21.3]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.21.2...0.21.3 [0.21.2]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.21.1...0.21.2 [0.21.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.21.0...0.21.1 [0.21.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.20.7...0.21.0 diff --git a/gstreamer/src/memory.rs b/gstreamer/src/memory.rs index 36b48bbbb..58c8049c6 100644 --- a/gstreamer/src/memory.rs +++ b/gstreamer/src/memory.rs @@ -222,7 +222,7 @@ impl MemoryRef { } #[doc(alias = "gst_memory_copy")] - pub fn copy_range(&self, offset: isize, size: Option) -> Memory { + pub fn copy_part(&self, offset: isize, size: Option) -> Memory { let new_offset = if offset < 0 { assert!((-offset) as usize >= self.offset()); self.offset() - (-offset as usize)