Commit Graph

113 Commits

Author SHA1 Message Date
a736c8b438 format/context/input: add seek() method 2015-10-14 18:24:11 +02:00
meh
ae2cc97f65 util/channel_layout: add inline attributes 2015-10-14 17:46:23 +02:00
meh
b7687b9bd9 util/frame/video: add inline attributes 2015-10-14 17:44:23 +02:00
meh
5c4ac30f20 util/frame: add iniline attributes 2015-10-14 17:44:06 +02:00
meh
132c514e3f *: returning &mut Self from setters was an awful idea
Deref breaks things.
2015-10-04 03:21:52 +02:00
meh
4cc4ba3579 util: add inline attributes 2015-10-01 20:43:40 +02:00
meh
7ab04e200b util/error: add inline attributes 2015-10-01 20:43:24 +02:00
meh
a544f0827c util/frame: make it Sync 2015-09-29 01:11:14 +02:00
meh
33a116023e util/frame: make pts return Option<i64> 2015-09-28 02:25:26 +02:00
meh
510e8604b6 *: refactor setters to return self 2015-09-26 18:01:23 +02:00
meh
316778ccd9 error: implement From<Error> for io::Error 2015-09-22 04:03:49 +02:00
meh
2ca44d08d4 *: fix UB with CString usage 2015-09-22 02:44:13 +02:00
d908df7ab8 frame/video: add set_kind() method 2015-09-19 12:38:47 +02:00
meh
19548810dd *: update to 2.8 2015-09-15 20:53:49 +02:00
meh
3f282a8202 util/frame: make set_pts take an Option 2015-09-09 16:44:58 +02:00
meh
3fd11a4c99 dictionary/immutable: fix to_owned lifetime 2015-09-09 14:19:08 +02:00
c6b6f3720a dictionary/mutable: fix set() implementation 2015-09-09 13:49:59 +02:00
7c42d6a2e9 util/frame: implement set_pts() 2015-09-09 13:49:20 +02:00
meh
f2fb08e491 util/dictionary: refactor and make more sound 2015-09-08 18:26:29 +02:00
620958d684 util/dictionary: implement Clone for Dictionary 2015-09-04 17:14:55 +02:00
c1e907ad70 util/dictionary: implement get() 2015-09-04 17:09:36 +02:00
9cc2d28223 util/dictionary: implement set() 2015-09-04 17:04:47 +02:00
meh
67a2c60a33 util/option: add some basic options handling 2015-09-04 16:34:02 +02:00
b5c7d27f96 frame/video: implement From<Frame> 2015-09-02 12:43:52 +02:00
71d14e15ba frame/audio: implement From<Frame> 2015-09-02 12:43:44 +02:00
0e83f8a0c4 encoder/audio: add set_channels()
For this a method for `ChannelLayout` to retrieve the number of channels was
also added.
2015-08-31 22:59:35 +02:00
5332dabffa util/frame/video: set alignment to 32 in av_frame_get_buffer()
In all places where the function `av_frame_get_buffer()` was used on a video
frame in the ffmpeg sources the value `32` was used as an alignment.
2015-08-31 22:47:29 +02:00
c0049beaba util/frame/audio: set alignment to 0 in av_frame_get_buffer()
In all places where the function `av_frame_get_buffer()` was used on an audio
frame in the ffmpeg sources the value `0` was used as an alignment.

Also [1] states the value `0` as the default alignment.

[1]: http://www.ffmpeg.org/doxygen/2.7/group__lavu__sampfmts.html#gaa7368bc4e3a366b688e81938ed55eb06
2015-08-31 22:43:46 +02:00
meh
2baf1deaab rational: add From<(i32, i32)> for Rational 2015-08-25 15:50:18 +02:00
3c9c4f926f util/dictionary: implement Iterator and IntoIterator 2015-08-19 14:24:03 +02:00
meh
e063da22a4 frame/side_data: add inline attributes 2015-08-14 19:33:06 +02:00
meh
03b1d25fde time: add inline attributes 2015-08-05 19:34:43 +02:00
meh
5d718ffdb9 picture: add inline attributes 2015-08-05 19:34:05 +02:00
meh
a8eceeada1 media: add inline attributes 2015-08-05 19:33:29 +02:00
meh
7dc9858ee0 frame/video: change some inline attributes 2015-08-05 19:32:48 +02:00
meh
61b2e5b81b frame/audio: change some inline attributes 2015-08-05 19:31:37 +02:00
meh
f9d365876b rational: add inline attributes 2015-08-05 17:10:02 +02:00
meh
19b0351574 frame/audio: add inline attributes 2015-08-05 17:08:15 +02:00
meh
3c138fe189 frame/audio: make Sample unsafe and add more implementations 2015-08-04 15:42:34 +02:00
meh
898069692d frame/video: make Component unsafe 2015-08-04 15:31:05 +02:00
meh
c1b1a5b722 frame/video: implement Component for a couple more types 2015-08-04 14:38:42 +02:00
meh
67b683169c crate: add image support 2015-08-03 18:52:30 +02:00
meh
8d4ee5f8bf util/frame/audio: implement Debug 2015-07-15 14:23:07 +02:00
meh
69c8b47861 util/rational: make PartialEq use reduce() 2015-07-02 01:57:53 +02:00
meh
bb4263b7be util/rational: some more refactoring 2015-06-25 22:23:33 +02:00
meh
23b414b01e util/rational: some minor improvements 2015-06-24 22:57:03 +02:00
meh
1e5d77816a *: update to 2.7 2015-06-19 01:04:49 +02:00
meh
348623e8cc util/frame/video: use a trait instead of type_of 2015-06-10 22:04:18 +02:00
meh
0bed7e7346 util/frame/audio: use a trait instead of type_of 2015-06-10 22:03:59 +02:00
meh
32bf1b37ac util/frame: only Frame needs to be Send 2015-06-09 23:47:10 +02:00