Sophie Herold
56f6b9e727
Generate docs artifact for gir-doc
2021-05-25 19:07:31 +02:00
Sebastian Dröge
30a323e24c
Update CHANGELOG.md for 0.16.7
2021-02-13 13:35:55 +02:00
Sebastian Dröge
f459d0d5f1
Update versions to 0.16.7
2021-02-13 13:35:55 +02:00
Sebastian Dröge
fdd21b9a2a
video/timecode: Fix compilation of tests with target API < 1.16
2021-02-13 13:35:55 +02:00
Sebastian Dröge
50cffb0f7a
video/timecode: Use mem::ManuallyDrop to prevent a double unref of the daily jam
...
As ffi::GstVideoTimeCode implements Copy, assignments don't move it out
of the passed in value but just copy it. This doesn't increase the
reference count of the daily jam, still runs the Drop impl of the passed
in value to decrease the daily jam and then causes a second unref of it
later when the returned value is dropped.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/310
2021-02-13 13:35:55 +02:00
Sebastian Dröge
57650dd0a2
Update versions to 0.16.6
2020-12-20 20:46:17 +02:00
Sebastian Dröge
abc39b8f08
Update CHANGELOG.md for 0.16.6
2020-12-20 20:15:48 +02:00
Marijn Suijten
ae51a2f49c
video/time_code_interval: Correct set_frames parameter name
...
Aesthetics.
2020-12-20 19:56:06 +02:00
Marijn Suijten
26bfd5b98c
video/time_code_interval: Ord cmp minutes to other.minutes, not hours
...
Same mistake as the previous commit. Clipppy didn't find this one though
:)
2020-12-20 19:55:59 +02:00
Marijn Suijten
4157bb6c16
video/time_code_interval: Do not compare minutes to hours in PartialEq
...
Clippy nightly is becoming surprisingly smart these days:
warning: This sequence of operators looks suspiciously like a bug.
--> gstreamer-video/src/video_time_code_interval.rs:66:16
|
66 | && self.0.minutes == other.0.hours
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: I think you meant: `self.0.minutes == other.0.minutes`
|
= note: `#[warn(clippy::suspicious_operation_groupings)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_operation_groupings
2020-12-20 19:55:44 +02:00
Guillaume Desmottes
409608a7fb
video: implement Eq and PartialEq on VideoAlignment
2020-12-20 19:53:53 +02:00
Guillaume Desmottes
18af63beac
video: add alignment API to VideoMeta
2020-12-20 19:53:53 +02:00
Guillaume Desmottes
87dc92ff4a
video: add VideoInfo::align_full()
2020-12-20 19:51:43 +02:00
Guillaume Desmottes
b7bfcb2094
video: add VideoMeta::get_plane_{height,size}
...
Fix #299
2020-12-20 19:49:42 +02:00
Sebastian Dröge
b55d01bdc5
Update CHANGELOG.md for 0.16.5
2020-11-23 13:37:13 +02:00
Sebastian Dröge
9cd670277b
Update versions to 0.16.5
2020-11-23 13:24:07 +02:00
Sebastian Dröge
7d8f95971c
video/timecode: Use stringify!($name) instead of "$name" in Debug impl
...
Otherwise it would output a literal "$name" string.
2020-11-23 12:22:01 +02:00
Sebastian Dröge
8c4ebdec1e
Use repr(transparent) where it is more correct and get rid of some unneeded repr(C)
2020-11-23 12:22:01 +02:00
Sebastian Dröge
5f63ee9912
Remove unneeded PhantomData markers
...
And as a side-effect also get rid of the lifetime parameter of
gst::TypeFind that was completely unused anyway.
2020-11-23 12:22:01 +02:00
Jonas Platte
249918b189
Fix missing dox feature passthrough
2020-11-23 12:22:01 +02:00
raytiley
629579c04d
Update location of documentation.
2020-11-23 12:05:46 +02:00
Nathan Widmyer
5a28412fef
Switch dependency resolution option from rev to branch
2020-11-10 10:57:05 -05:00
Sebastian Dröge
b687b60144
Update CHANGELOG.md for 0.16.4
2020-10-09 13:16:58 +03:00
Sebastian Dröge
dde1941722
Update versions to 0.16.4
2020-10-09 13:10:33 +03:00
Sebastian Dröge
b32fc568da
gstreamer/audio/video: Correctly implement ExactSizeIterator
...
len() is optional but size_hint() must return the correct values. Also
this shouldn't return the overall length but the remaining length.
2020-10-09 12:03:21 +03:00
Sebastian Dröge
f65efb41e8
Update versions to 0.16.3
2020-09-08 21:48:15 +03:00
Sebastian Dröge
12c3a90661
Update CHANGELOG.md for 0.16.3
2020-09-08 21:47:52 +03:00
Sebastian Dröge
68c2b19680
video: Rename VideoTransferFunction functions
2020-09-08 17:14:37 +03:00
Sebastian Dröge
6b6fae51cd
Regenerate everything
2020-09-08 17:14:37 +03:00
Sebastian Dröge
a6253a1f77
video/video_frame: Allow getting an owned buffer from readable video frames
...
In all other variations this is not possible as it would allow to
circumvent the mini object writability rules.
2020-08-11 13:36:54 +03:00
Sebastian Dröge
fc21a2d9a3
Add git locations for gstreamer-sys in addition to the version
...
Otherwise we'd always use the version from crates.io.
2020-08-11 12:43:57 +03:00
Sebastian Dröge
a0887f197f
Add various new 1.18 APIs
2020-08-11 12:43:57 +03:00
Sebastian Dröge
2624e2a6d1
Regenerate everything
2020-08-11 12:43:57 +03:00
Sebastian Dröge
4e57412fa3
Update versions to 0.16.2
2020-07-27 12:19:10 +03:00
Sebastian Dröge
3f58306e3b
Update CHANGELOG.md for 0.16.2
2020-07-27 12:18:44 +03:00
Sebastian Dröge
f95ca85a27
Update CHANGELOG.md for 0.16.1
2020-07-10 10:42:47 +03:00
Sebastian Dröge
3643f3ea80
Update version to 0.16.1
2020-07-10 10:42:44 +03:00
Sebastian Dröge
9511b19c0a
Update versions from git to releases
2020-07-06 14:37:02 +03:00
Sebastian Dröge
2f69fe81f2
Update CHANGELOG.md for 0.16.0
2020-07-06 14:03:45 +03:00
Sebastian Dröge
448c1e10a0
Regenerate
2020-07-06 13:01:57 +03:00
Sebastian Dröge
e3667fd8d2
video/video_info: Add field_height() function
2020-07-03 13:10:28 +03:00
Sebastian Dröge
5845038a63
video: Use correct version for interlaced caps feature
2020-07-03 13:00:07 +03:00
Sebastian Dröge
2db7b8ebcc
video: Use correct versions of primaries/transfer function enums
2020-07-03 12:23:32 +03:00
Sebastian Dröge
9cc99b27e0
gstreamer/element: Let post_message() and post_error_message() take ownership of the message
...
This is more in line with the C API and simplifies callers in Rust.
2020-06-30 23:55:02 +03:00
Sebastian Dröge
911bb34dc2
Don't generate LAST/NONE variants of flags types
...
Those are automatically provided already.
2020-06-30 11:35:49 +03:00
Sebastian Dröge
45402b5e95
Add specific version configurations for various enum/flags values
...
gobject-introspection does not support this yet so we have to do that
manually.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/271
2020-06-30 11:23:37 +03:00
Sebastian Dröge
af01f1bc67
gstreamer: Simplify MiniObject bindings by removing one layer of abstraction
...
And instead directly implementing this via the macro on the target
types.
2020-06-30 11:06:02 +03:00
Sebastian Dröge
947ac8db5c
Name functions returning a builder builder(), not new()
...
And also make the video event API more consistent with the normal event
API.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/269
2020-06-25 19:42:33 +03:00
Guillaume Desmottes
2f1b3306de
video: properly version VideoFormat members
...
The C API is not safe when called on unknown formats.
Need to do this manually until gir gives us the version info:
https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/348
Fix #267
2020-06-24 14:55:27 +02:00
Guillaume Desmottes
2afcdfe79f
video: remove 1.18 formats from VIDEO_FORMATS_ALL
...
This array is a fallback when using gst < 1.18 so it makes no sense
to include formats which have been introduced in 1.18
2020-06-24 14:14:45 +02:00