Skip to content

Commit

Permalink
Safe mediacodec bindings (#216)
Browse files Browse the repository at this point in the history
* Add media_codec.rs

* Fix cast warnings; remove unnecessary explicit types

* Add `#![warn(trivial_casts)]`; fix formatting
  • Loading branch information
zmerp authored Mar 12, 2022
1 parent 190b083 commit f0be2c5
Show file tree
Hide file tree
Showing 3 changed files with 499 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ndk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Unreleased

- ndk/media/image_reader: Make `HardwareBuffer::as_ptr()` public for interop with Vulkan.
- ndk/hardware_buffer: Make `HardwareBuffer::as_ptr()` public for interop with Vulkan.
- **Breaking:** `Configuration::country()` now returns `None` when the country is unset (akin to `Configuration::language()`)
- Added `media/media_codec` bindings

# 0.6.0 (2022-01-05)

Expand Down
Loading

0 comments on commit f0be2c5

Please sign in to comment.