Guillaume Desmottes
71414fe052
video: implement proper Debug on VideoFormatInfo
2019-07-03 14:23:58 +02:00
Sebastian Dröge
38f3d3eff2
video-info: Use gst_video_info_set_interlaced_format() when building for 1.16 and having an interlace-mode set
...
This ensures that the plane information is filled correctly.
2019-06-26 12:42:33 +03:00
Sebastian Dröge
6871e501db
webrtc: Generate various new enum types that were added in 1.14.1/1.16
2019-06-25 19:20:37 +03:00
Sebastian Dröge
e0d345fbb4
Add missing versions to new WebRTC enum types
2019-06-25 19:17:36 +03:00
Sebastian Dröge
28a24a4fc0
Update versions to 0.15.0
2019-06-24 20:53:05 +03:00
Sebastian Dröge
e10df81166
Update documentation
2019-06-24 20:52:03 +03:00
Sebastian Dröge
4513eb22c7
Remove unused subclassing configuration from toml files
2019-06-24 20:52:03 +03:00
Sebastian Dröge
fa6cb789cd
Update CHANGELOG.md for 0.14.0
2019-06-24 20:52:03 +03:00
Sebastian Dröge
47f0940b44
Regenerate everything with latest gir
2019-06-24 20:52:03 +03:00
Sebastian Dröge
949b511bfc
Update gir
2019-06-24 20:52:03 +03:00
Sebastian Dröge
3dc291d51a
Update versions to 0.9.0
2019-06-24 19:43:55 +03:00
Sebastian Dröge
018b0ee7c1
Update CHANGELOG.md for 0.8.0
2019-06-24 19:43:25 +03:00
Sebastian Dröge
50d33513ea
Regenerate with latest gir
2019-06-24 19:43:25 +03:00
Sebastian Dröge
0aebe626b1
Update gir
2019-06-24 19:43:25 +03:00
Guillaume Desmottes
24d9dc6209
gstreamer: tags: make call to to_string() explicit
...
This one was actually working but better to be safe as it may be
ambigious.
2019-06-18 17:11:24 +05:30
Guillaume Desmottes
40d2db7095
gstreamer: caps: make call to to_string() explicit
...
This one was actually working but better to be safe as it may be
ambigious.
2019-06-18 17:11:24 +05:30
Guillaume Desmottes
cd16337874
video: video-info: fix Display implementations
...
We were calling the blanket implementation of ToString, which is using
Display, rather than our own, resulting in an infinite recursion.
Also a couple of to_string() implementation were using the wrong
glib conversion as they actually return a 'const gchar *'.
2019-06-18 17:11:24 +05:30
Guillaume Desmottes
e81b5717e9
audio: fix AudioFormat Display implementation
...
We were calling the blanket implementation of ToString, which is using
Display, rather than our own, resulting in an infinite recursion.
2019-06-18 17:11:24 +05:30
Guillaume Desmottes
af65497c39
video: fix VideoFormat Display implementation
...
We were calling the blanket implementation of ToString, which is using
Display, rather than our own, resulting in an infinite recursion.
Fix #208
2019-06-18 17:11:24 +05:30
Sebastian Dröge
856a5a25e8
pbutils: Fix build after EncodingContainerProfileExt stopped being generated
...
It's a final type and there can't be any subclasses, so there should not
be any extension trait.
2019-06-18 14:01:52 +03:00
Sebastian Dröge
b87ffa17bb
Run rustfmt also over all the generated code
2019-06-18 13:12:00 +03:00
Sebastian Dröge
e5aa6f59f9
Regenerate everything
2019-06-18 13:10:46 +03:00
Sebastian Dröge
93dc69f3f3
Add generator.py from gstreamer-rs-sys
2019-06-18 13:10:24 +03:00
Sebastian Dröge
ac2cf29fb1
Run cargo fmt
as part of generator.py
2019-06-18 13:07:49 +03:00
Sebastian Dröge
8f6196c629
Add gir submodule
2019-06-18 13:07:04 +03:00
Sebastian Dröge
be0f64ce93
Run everything through rustfmt
2019-06-18 13:04:39 +03:00
Sebastian Dröge
77a9f4b459
Remove ARM/Windows builds from the CI and add cargo fmt
step
...
The ARM/Windows cross-builds were not too useful on their own and we
should rather set up proper CI for them.
2019-06-18 13:03:55 +03:00
Sebastian Dröge
78c1f50b53
Regenerate everything with latest gir
2019-06-18 13:02:27 +03:00
Sebastian Dröge
8e52090356
Fix generator script to actually handle the y/N question as advertised
2019-06-18 12:56:40 +03:00
Sebastian Dröge
8a907825e0
Update gir
2019-06-18 12:55:33 +03:00
Guillaume Desmottes
c3ccec67eb
video: turn VIDEO_MAX_PLANES to an usize
...
More convenient to use.
2019-06-18 13:30:59 +05:30
Guillaume Desmottes
840d1847a1
video: add VIDEO_MAX_PLANES constant
2019-06-18 10:57:58 +05:30
Guillaume Desmottes
491eaf3a73
video: VideoInfo: implement align()
2019-06-18 09:38:43 +05:30
Sebastian Dröge
4f024af7d6
gstreamer/serde: Fix compilation with serde feature enabled
2019-06-06 09:25:19 +03:00
Sebastian Dröge
d1e562b9f6
Explicitly add dyn
keyword to trait objects
...
Trait objects without are deprecated with the latest nightly and this
makes it more clear that we're doing dynamic dispatch anyway.
2019-06-06 09:09:34 +03:00
Guillaume Desmottes
7a69a1137c
gstreamer: plugin_feature: use Rank enum
2019-06-04 12:56:18 +03:00
Guillaume Desmottes
1cd733fb0b
gstreamer: allow to register using Rank enum directly
...
Prevent user to have to cast to a u32 manually.
2019-06-04 12:50:43 +03:00
Sebastian Dröge
2c31baaa0c
gstreamer: Implement Add<u32> for gst::TypeFindProbability and fix comparison
...
While the enum is a signed integer, all operations inside GStreamer
(especially comparison) is based on unsigned integers.
2019-06-04 12:45:56 +03:00
Sebastian Dröge
620a9b2a95
gstreamer: Implement Add<u32> for gst::Rank and fix comparison
...
While the enum is a signed integer, all operations inside GStreamer
(especially comparison) is based on unsigned integers.
2019-06-04 12:45:56 +03:00
Sebastian Dröge
d44c293753
Use TryFrom/TryInto traits where it makes sense instead of our previous ad-hoc solutions
2019-06-03 18:42:34 +03:00
Sebastian Dröge
fdb95f0033
gstreamer/format: Implement formatted value arithmetic with overflow checks
...
We have a value to represent invalid/overflow anyway, so let's make sure
that all operations are actually not overflowing and if they do we
assigned that value to the result.
2019-06-03 08:25:43 +00:00
Sebastian Dröge
fbcdf90386
gstreamer/format: Add various other arithmetic operation impls for the different formatted values
...
This includes gst::ClockTime.
2019-06-03 08:25:43 +00:00
Sebastian Dröge
b2ffe98d59
gstreamer/fraction: Add impls for various other arithmetic operations on fractions
...
Any arithmetic operation on plain values or references in any order
should be possible now, and on fractions with i32.
2019-06-03 08:25:43 +00:00
Guillaume Desmottes
c774bd8114
base: add bindings for GstBaseParse
...
Fix #157
2019-06-01 13:04:12 +05:30
Guillaume Desmottes
e9fbbc2b40
ci: bump minimum Rust version to 1.34
...
Needed for TryFrom.
2019-06-01 11:57:15 +05:30
Sebastian Dröge
e5d0afee02
video: Add pack/unpack func bindings
2019-05-28 09:26:44 +02:00
Sebastian Dröge
0147f03344
audio: Cast fewer points to *mut pointers in pack/unpack func bindings
2019-05-28 04:59:27 +02:00
Sebastian Dröge
1c1533d076
check: Fix compilation with v1_16 feature enabled
2019-05-28 04:46:41 +02:00
Sebastian Dröge
37071c9d60
gstreamer: Fix build with serde feature enabled
2019-05-28 04:35:12 +02:00
Sebastian Dröge
004ce5d392
gstreamer: Re-export the paste crate for the gst_plugin_define! macro
...
And only depend on the paste crate if the subclass feature is requested.
2019-05-27 22:46:26 +02:00