ab0c7549b2
Fix clippy lints ( #68 )
...
* Specify type params in transmute calls
* Replace legacy numeric methods with constants
2024-06-14 11:44:38 -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
05bad6e9e0
Propagate errors in Input::packets().
2023-04-28 09:05:12 -04:00
22ad8b9598
Bump version to use ffmpeg 5
2022-02-11 17:58:42 +01:00
545180cad0
format: context::{input,output}::dump: fix url/path printing
...
Previously the unwrapped CString did not have long enough lifetime to be
printed; not sure why there's no compiler warning.
2020-08-11 00:30:58 +08:00
73b66ea438
Fix clippy::redundant_field_names
2020-07-26 01:01:13 +08: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
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
a736c8b438
format/context/input: add seek()
method
2015-10-14 18:24:11 +02:00
5a07671b92
format/context/input: implement pause()
and play()
2015-10-03 00:16:25 +02:00
510e8604b6
*: refactor setters to return self
2015-09-26 18:01:23 +02:00
9736980b02
codec/context: make destructors safe
2015-09-17 17:33:31 +02:00
87ea1bd196
format: refactor format handling
2015-09-09 13:48:10 +02:00
1f80007e5e
format: split input and output formats
2015-09-04 16:30:19 +02:00