Commit Graph

32 Commits

Author SHA1 Message Date
6220b88ef2 util/format/pixel: drop deprecated error::Error::description 2020-06-01 13:39:59 +08:00
506f66ac51 Fix issues related to duplicate enum variants
C enums allow duplicate variants, but Rust enums don't. At some point bindgen
switched to generating duplicate variants as associated constants instead of
module-level constants, so use SomeEnum::* broke. Here we switch to associated
constants in the native API as well.
2020-06-01 13:36:50 +08:00
13a2354a2c Fix bare_trait_objects deprecation 2020-05-31 14:16:23 +08:00
d3c10e4068 Fix libc::uint8_t deprecation 2020-05-31 14:16:23 +08:00
cd6c9d972b Fix std::error::Error::description deprecation 2020-05-31 14:16:23 +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
37d47c0d6e Fix AV_PIX_FMT_XVMC situation 2018-09-10 15:08:52 -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
8cf47c7ec6 format/pixel: implement FromStr for Pixel 2017-06-28 10:53:24 +02:00
403407bf2c format/pixel: add Descriptor::{name, log2_chroma_w}() 2017-06-22 22:16:46 +02:00
1095c8842e format/pixel: add Descriptor::nb_components() 2017-06-22 22:16:46 +02:00
1dd672546d util: fix code style 2017-06-22 22:16:46 +02:00
62739b803d util: fix formatting 2017-06-22 22:16:46 +02:00
c0327cebdc format/pixel: add format::pixel::Descriptor 2017-06-22 22:16:46 +02:00
2aebc761dd util/format: add CUDA pixel format 2017-01-05 16:21:28 +01:00
75ef14c45c format/pixel: fix missing feature flags (xvmc/vaapi) 2016-05-20 14:08:22 +02:00
fafcf1d433 *: check unsafe slice creation 2016-05-01 02:01:00 +02:00
meh
b6c92b2805 crate: check headers for ifdefs 2015-12-03 18:23:06 +01:00
meh
2d8485732a util/format/sample: add inline attributes 2015-10-29 18:06:47 +01:00
meh
79945c2c5e util/format/pixel: add inline attributes 2015-10-29 18:05:54 +01:00
meh
2ca44d08d4 *: fix UB with CString usage 2015-09-22 02:44:13 +02:00
meh
19548810dd *: update to 2.8 2015-09-15 20:53:49 +02:00
meh
1e5d77816a *: update to 2.7 2015-06-19 01:04:49 +02:00
meh
b2c9dc3747 util/format/sample: improve ergonomics 2015-06-01 20:32:53 +02:00
meh
72895052e6 util/frame/audio: add samples accessor 2015-06-01 16:52:19 +02:00
meh
daeec01897 util/format/sample: change channels type to u16 2015-05-31 18:58:43 +02:00
meh
5c402a1256 util: move SampleFormat and PixelFormat to util::format 2015-05-13 23:36:08 +02:00