Commit Graph

48 Commits

Author SHA1 Message Date
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
28b7a82ac1 format: add support for Chapters
Read chapters from an input context and add chapters to an output context.

Note: unlike avformat_new_stream, the equivalent function for chapter is private:
avpriv_new_chapter (part of libavformat/internal.h). I couldn't find any other
solution but re-implementing it in format::context::output::add_chapter.
2017-09-23 20:42:51 +02:00
meh
9f87ecf5fa crate: fix some warnings 2016-05-23 23:05:41 +02:00
meh
c66aa6efbb util/dictionary: add a dict! macro to create a dictionary 2015-10-26 20:25:44 +01:00
03740c31c0 util/mathematics: add rounding and rescaling 2015-10-25 23:28:27 +01:00
meh
f2fb08e491 util/dictionary: refactor and make more sound 2015-09-08 18:26:29 +02:00
meh
2a3a4e6169 filter: add avfilter wrapper 2015-09-04 16:36:04 +02:00
meh
67a2c60a33 util/option: add some basic options handling 2015-09-04 16:34:02 +02:00
meh
a282d85662 format/stream: avoid unsoundness splitting Stream into StreamMut 2015-08-25 15:45:55 +02:00
meh
67b683169c crate: add image support 2015-08-03 18:52:30 +02:00
meh
623f798ca4 crate: disable unused unstable features 2015-06-10 22:04:37 +02:00
meh
02ea528c26 util/frame/audio: improve ergonomics 2015-06-08 15:52:01 +02:00
meh
e05dd04882 util/channel_layout: add ChannelLayout 2015-06-01 18:34:01 +02:00
meh
72895052e6 util/frame/audio: add samples accessor 2015-06-01 16:52:19 +02:00
meh
8ceac13065 software/scaling: add software scaling feature 2015-05-28 18:16:07 +02:00
meh
6c8a8f2edd crate: also export rational module for helpers 2015-05-28 18:15:33 +02:00
meh
883654ebda util/time: add time helpers 2015-05-26 20:36:27 +02:00
meh
7cce85709a lib: add a crate init function 2015-05-24 18:52:28 +02:00
meh
a0dae25b94 codec/threading: add threading configuration 2015-05-16 19:18:26 +02:00
meh
757088f46c codec: refactor decoder and encoder 2015-05-16 17:28:25 +02:00
meh
706f64c133 codec/field_order: add enum 2015-05-16 17:24:33 +02:00
meh
ded50e95a9 codec/audio_service: add enum 2015-05-16 17:20:45 +02:00
meh
6090985707 codec: refactor API 2015-05-16 14:45:21 +02:00
meh
96563ed391 cargo: add features 2015-05-15 21:28:03 +02:00
meh
3a1af24d2f util/color: move color enums to their own module 2015-05-13 15:16:42 +02:00
meh
72025673c9 util/picture: add picture::Type 2015-05-12 19:19:52 +02:00
meh
72e300f09e codec/subtitle: improve Subtitle handling 2015-05-12 18:21:02 +02:00
meh
bd4cfd56dc codec/picture: add Picture 2015-05-12 18:19:30 +02:00
meh
1150527c35 device: add handling 2015-05-12 03:58:34 +02:00
meh
b7a015c79a format: add Format, format::Context and Stream 2015-05-12 03:57:17 +02:00
meh
a45c011fbc format: add base 2015-05-12 03:53:19 +02:00
meh
66901497ab codec: add various Codec related stuff 2015-05-12 03:49:55 +02:00
meh
9c8ca6601f codec/discard: add Discard 2015-05-12 03:48:11 +02:00
meh
64c6678f04 codec/subtitle: add Subtitle 2015-05-12 03:46:25 +02:00
meh
42564d0d5e codec/packet: add Packet and packet::SideData 2015-05-12 03:44:45 +02:00
meh
308e36ee48 codec: add base 2015-05-12 03:33:13 +02:00
meh
2ff14a2043 util/frame: add Frame, frame::Video and frame::Audio 2015-05-12 03:25:29 +02:00
meh
1a9ca7a4a0 util/pixel_format: add PixelFormat 2015-05-12 03:23:29 +02:00
meh
403989a85c util/sample_format: add SampleFormat 2015-05-12 03:22:51 +02:00
meh
7cd4a3d531 util/media: add media::Type 2015-05-12 03:21:32 +02:00
meh
8d828575df util/color_range: add ColorRange 2015-05-12 03:17:17 +02:00
meh
1aea2f63f7 util/color_space: add ColorSpace 2015-05-12 03:16:36 +02:00
meh
ae148f4e59 util/rational: add Rational 2015-05-12 03:15:38 +02:00
meh
1c2b78a3f2 util/dictionary: add Dictionary 2015-05-12 03:12:55 +02:00
meh
4e79ee9ae9 crate: ignore some warnings 2015-05-12 03:11:57 +02:00
meh
eef3e9c556 util/error: add error handling 2015-05-07 04:32:32 +02:00
meh
5468ea5051 util: add base 2015-05-07 04:32:07 +02:00
meh
8763fd5d4c Initial commit 2015-05-07 04:31:52 +02:00