fd2d71c92b
Support FFmpeg 7.0 ( #48 )
...
* sys: Run cargo fmt
* sys: Add new channel layout consts
* sys: Update build script for 7.0
- Add new FF_API flags
- Update version_check_info range
- Add ffmpeg_7_0 feature entry
* sys: Update non-exhaustive match statement
* Update enums
* Mark old APIs as removed with 7.0
* Make Audio frame work with 7.0
The .unwrap() in clone() is a bit wonky
* Add API for swr_alloc_set_opts2
* Use AVFrame::duration field in 7.0+
* Include 7.0 in CI runs
* Add fn ChanneLayoutIter::best
* Update examples for new API
* Add/update Context setter for ch layout
2024-04-29 21:38:37 -04:00
7a8643f2cc
Migrate crates to Rust edition 2021 ( #24 )
...
* Migrate ffmpeg-sys to Edition 2021
* Migrate ffmpeg to Edition 2021
* Remove now-redundant imports
* Reorder imports after edition migration
2024-04-06 21:31:36 -04:00
f269020af8
Add missing enum variants for FFmpeg 6.1 ( #16 )
2024-04-03 12:27:13 -04:00
30aabf9033
Add FFmpeg 6.1 support ( #14 )
...
Co-authored-by: Rafie <simulping@protonmail.com >
2024-04-02 08:47:59 -04:00
c6dd54003e
Support ffmpeg 6.0
...
Closes #6
2023-03-07 13:21:43 -05:00
fe89e158c0
Add serialize support for enums
2023-01-24 02:38:11 -05:00
92a8c6a9d8
add feature non-exhaustive-enums
2023-01-23 09:53:56 -05:00
28c356dd98
add wildcard branches for matches on enums
2023-01-23 09:53:52 -05:00
b6b2311fcf
Bump to 5.1.1
2022-08-08 18:37:14 +02:00
22ad8b9598
Bump version to use ffmpeg 5
2022-02-11 17:58:42 +01:00
19ab5f67ad
Fix linting errors
2021-07-07 16:52:30 +02:00
9c7ecb9b53
Initial ffmpeg 4.4 support
2021-05-06 17:08:45 -04:00
b28e852eb0
Implement automatic FFmpeg version detection
...
Based on ffmpeg-sys-next 4.3.2.
2020-08-02 11:44:13 +08:00
15c87a7837
Add FFmpeg 4.3 specific code
2020-06-17 01:51:38 +08:00
036c0e5b42
Fix duplicate enum variant issues for FFmpeg 3.4
2020-06-11 23:18:47 +08:00
fcca68ae5e
Add FFmpeg 4.2 specific code
2020-06-01 14:42:39 +08:00
a69a457e3a
Add FFmpeg 4.1 specific code
2020-06-01 14:15:33 +08:00
a7eee9142f
Revert 8199541
and guard with not(ffmpeg4)
2018-09-19 17:08:42 -04:00
0e05c0bb29
Mark new macros introduced in 2c5abbf
as ffmpeg4
2018-09-19 16:54:16 -04:00
2c5abbfe33
Add missing macros (FFmpeg 4.0.2)
2018-09-10 16:22:16 -04:00
8199541f09
Drop obselete macros (obselete wrt FFmpeg 4.0)
2018-09-10 14:39:28 -04:00
0bcd4550b8
*: format code with rustfmt and fix clippy suggestions
...
* Add avformat_close_input call to clean up AVFormantContext
* Format code with rustfmt
* Fix clippy lint double_parens
* Fix clippy lint deref_addrof
* Fix clippy lint identity_conversion
* Fix clippy lint match_ref_pats
* Fix clippy lint cast_lossless
* Fix clippy lint cmp_null
* Fix clippy lint clone_on_ref_ptr
* Fix clippy lint map_clone
* Fix clippy lint needless_borrow
* Fix clippy lint needless_pass_by_value
* Fix clippy lints for examples
* Fix clippy lint unused_io_amount
* Fix clippy lint new_without_default
* Ignore inline_always clippy lint
* Add vim temp files to .gitignore
2018-04-10 16:06:42 +02:00
94ebdf143c
*: add the newest enum values from ffmpeg-sys
2017-11-29 20:49:54 +01:00
5ac0527bdc
*: use latest ffmpeg-sys using bindgen
...
* Update bindings to newest ffmpeg version for new ffmpeg-sys, which is mostly generated by bindgen
* Bring back removed feature flags
* Fix whitespace formating
* Remove prepended enum names to enum variants
* Remove unneeded allows
2017-07-08 17:00:27 +02:00
2ed824aaac
*: upgrade to 3.2
...
Fix errors when built with https://github.com/meh/rust-ffmpeg-sys/pull/35 .
2016-11-27 23:16:47 +01:00
f5941792f9
codec/id: fix voxware feature name
2016-03-30 22:51:44 +02:00
b6c92b2805
crate: check headers for ifdefs
2015-12-03 18:23:06 +01:00
19548810dd
*: update to 2.8
2015-09-15 20:53:49 +02:00
1e5d77816a
*: update to 2.7
2015-06-19 01:04:49 +02:00
7f6d694a7d
codec: rename kind() to medium()
2015-05-16 14:43:21 +02:00
496f3759ec
codec/id: add codec::Id
2015-05-12 03:33:33 +02:00