28 Commits

Author SHA1 Message Date
FreezyLemon
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
Josh Holmer
c6dd54003e Support ffmpeg 6.0
Closes #6
2023-03-07 13:21:43 -05:00
Josh Holmer
cff28ba207 Fix things from renaming and clippy 2023-01-23 10:22:10 -05:00
Polochon-street
22ad8b9598 Bump version to use ffmpeg 5 2022-02-11 17:58:42 +01:00
Polochon-street
f559e13afc Fix linting errors 2021-10-02 22:51:32 +02:00
Zhiming Wang
73b66ea438
Fix clippy::redundant_field_names 2020-07-26 01:01:13 +08:00
Zhiming Wang
13a2354a2c
Fix bare_trait_objects deprecation 2020-05-31 14:16:23 +08:00
Tadas Barzdžius
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
Tae-il Lim
edb6d91f59 codec/context: more Into 2016-12-03 01:44:56 +01:00
Tae-il Lim
606847cc50 codec: introduce Parameters
As of ffmpeg 3.1, a new `AVCodecParameters` type and related API introduced.
This commit contains minimal changes to support new API.
2016-12-03 01:41:29 +01:00
meh
132c514e3f *: returning &mut Self from setters was an awful idea
Deref breaks things.
2015-10-04 03:21:52 +02:00
meh
510e8604b6 *: refactor setters to return self 2015-09-26 18:01:23 +02:00
meh
9736980b02 codec/context: make destructors safe 2015-09-17 17:33:31 +02:00
lummax
79ecba2fad codec/context: add set_flags() method 2015-09-14 13:55:19 +02:00
lummax
891b87f25d codec/decoder: adapt accessors to new state transitions 2015-08-29 21:09:39 +02:00
lummax
ee6004d05e codec: improve decoder state transitions
This commit improves the state transitions for the `codec::*` structs as
discussed in #7.
2015-08-29 21:08:31 +02:00
meh
e95c55dbf5 codec/context: move impl Send closer to the type definition 2015-06-10 22:05:20 +02:00
meh
d56ac34413 *: use is_null instead of == ptr::null() 2015-06-08 15:48:28 +02:00
meh
ff1b880be6 *: make internal pointer handling safer 2015-06-04 03:03:19 +02:00
meh
007947dde2 codec/context: implement DerefMut 2015-05-28 20:11:42 +02:00
meh
5b80b10949 util/error: refactor error handling 2015-05-24 18:51:34 +02:00
meh
112020a1ce codec/context: make it Send 2015-05-22 12:10:37 +02:00
meh
a0dae25b94 codec/threading: add threading configuration 2015-05-16 19:18:26 +02:00
meh
f93ab9488a codec/context: add some accessors 2015-05-16 17:25:57 +02:00
meh
6090985707 codec: refactor API 2015-05-16 14:45:21 +02:00
meh
7f6d694a7d codec: rename kind() to medium() 2015-05-16 14:43:21 +02:00
meh
e004eb9124 codec/context: some style fixes 2015-05-12 18:17:47 +02:00
meh
66901497ab codec: add various Codec related stuff 2015-05-12 03:49:55 +02:00