Sebastian Dröge
3c8e798f73
ges: Update manual code to 2018 edition
2020-11-22 19:15:21 +02:00
Sebastian Dröge
96782e8a8e
ges: Regenerate
2020-11-22 19:15:20 +02:00
Sebastian Dröge
0c17f32eee
gstreamer-pbutils: Update manual code to 2018 edition
2020-11-22 19:15:20 +02:00
Sebastian Dröge
34656810ad
gstreamer-pbutils: Regenerate
2020-11-22 19:15:20 +02:00
Sebastian Dröge
d31badf9ac
gstreamer-video: Update manual code to 2018 edition
2020-11-22 19:15:20 +02:00
Sebastian Dröge
4bd7f7af1a
gstreamer-video: Regenerate
2020-11-22 19:15:20 +02:00
Sebastian Dröge
ef135d46d8
gstreamer-net: Update manual code to 2018 edition
2020-11-22 19:15:20 +02:00
Sebastian Dröge
a8325694f5
gstreamer-net: Regenerate
2020-11-22 19:15:20 +02:00
Sebastian Dröge
240285ec0f
gstreamer-check: Update manual code to 2018 edition
2020-11-22 19:15:20 +02:00
Sebastian Dröge
2bb3385aaf
gstreamer-check: Regenerate
2020-11-22 19:15:20 +02:00
Sebastian Dröge
508fd2cde1
gstreamer-controller: Update manual code to 2018 edition
2020-11-22 19:15:20 +02:00
Sebastian Dröge
34074ff0af
gstreamer-check: Regenerate
2020-11-22 19:15:20 +02:00
Sebastian Dröge
4a928136ed
gstreamer-audio: Update manual code to 2018 edition
2020-11-22 19:15:20 +02:00
Sebastian Dröge
1e489ee1e2
gstreamer-audio: Regenerate
2020-11-22 19:15:20 +02:00
Sebastian Dröge
5a70dd1756
gstreamer-app: Update manual code to 2018 edition
2020-11-22 19:15:20 +02:00
Sebastian Dröge
e7843d68d0
gstreamer-app: Regenerate
2020-11-22 19:15:20 +02:00
Sebastian Dröge
88a7c18746
gstreamer-base: Update manual code to 2018 edition
2020-11-22 19:15:20 +02:00
Sebastian Dröge
80b4cb590e
gstreamer-base: Regenerate
2020-11-22 19:15:20 +02:00
Sebastian Dröge
9d9522016b
gstreamer: Update manual code to 2018 edition
2020-11-22 19:15:20 +02:00
Sebastian Dröge
b933931d6c
gstreamer: Regenerate
2020-11-22 19:15:20 +02:00
Sebastian Dröge
9889bc990a
sys: Update to Rust 2018
2020-11-22 19:15:20 +02:00
Sebastian Dröge
f88f9034b5
Update gir
2020-11-22 19:15:20 +02:00
Sebastian Dröge
4d52ab7d37
gstreamer: Fix plugin version for v1_18
2020-11-21 18:08:24 +02:00
François Laignel
75f6babb57
Event: impl structure_mut getter
2020-11-19 21:12:18 +01:00
Sebastian Dröge
89c4f68fa3
gstreamer: Remove redundant clone of element name
...
error: redundant clone
--> gstreamer/src/message.rs:162:63
|
162 | .field("src", &self.get_src().map(|s| s.get_name().to_owned()))
| ^^^^^^^^^^^ help: remove this
|
= note: `-D clippy::redundant-clone` implied by `-D warnings`
2020-11-19 20:30:51 +02:00
Sebastian Dröge
389fa306aa
Regenerate with latest gir
2020-11-19 19:53:22 +02:00
Sebastian Dröge
b84cead5ec
Update generator.py from gtk-rs
2020-11-19 19:51:59 +02:00
Sebastian Dröge
29d9f8c834
Update gir
2020-11-19 19:50:52 +02:00
Marijn Suijten
3129027b9d
CI: Do not enable all features in .cargo test sys
...
This solves build breakage when dox is enabled on non-nightly targets,
which uses the experimental doc_cfg feature.
2020-11-19 17:21:30 +01:00
Marijn Suijten
e88994a0b7
use cfg_if to refactor some #[cfg()] / #[cfg(not())] pairs
2020-11-19 16:39:31 +01:00
Marijn Suijten
aeb1b70581
Remove doc(cfg()) from expressions
...
warning: unused doc comment
--> gstreamer-video/src/video_info.rs:655:37
|
655 | #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
656 | / {
657 | | VideoInfoBuilder {
658 | | format,
659 | | width,
... |
674 | | }
675 | | }
| |_________- rustdoc does not generate documentation for expressions
Also simplify some blocks into expressions which are allowed to have
attributes as well since Rust 1.43.
2020-11-19 16:39:31 +01:00
Marijn Suijten
bd75778fcb
Add doc(cfg()) on all manual files
2020-11-19 16:39:31 +01:00
Marijn Suijten
9daa8d20a9
Regenerate with doc(cfg()) attribute on all symbols
...
This is enabled by a new version of gir, as updated in the previous
commit.
2020-11-19 16:39:31 +01:00
Marijn Suijten
2ce40e4973
gir: Update to 1ae96896 ( https://github.com/gtk-rs/gir/pull/994 )
...
This and earlier PRs enable generation doc(cfg()) attributes on symbols
to show cfg requirements directly in the documentation.
2020-11-19 16:39:31 +01:00
Marijn Suijten
2a169e0fdd
CI: Build docs on nightly for feature(doc_cfg)
...
The doc_cfg feature displays cfg requirements for a given symbol
directly in the documentation.
2020-11-19 16:39:31 +01:00
Marijn Suijten
3f373f623a
Enable feature(doc_cfg) in all lib.rs
...
The next version of gir is going to generate doc(cfg()) attributes on
many symbols to show feature-dependence hints. While autogenerated sys
crates get this attribute in their own (generated) lib.rs file the safe
wrapper crates do not have such an autogenerated lib.rs file.
2020-11-19 16:39:31 +01:00
Sebastian Dröge
7db21a3375
ci: Update stable/minimum support Rust version to 1.48
2020-11-19 16:43:02 +02:00
François Laignel
8aba0597e4
Pad: use Result<FlowSuccess, FlowError> for flow return type
2020-11-18 16:59:25 +01:00
François Laignel
755496d0f9
Pad: allow handling Events in PadProbes
2020-11-18 16:59:23 +01:00
François Laignel
9fb0c4937b
ProxyPad: impl ExtManual functions as trait functions, not associated functions
2020-11-17 16:35:31 +01:00
Sebastian Dröge
09f1a87dc9
video/timecode: Use stringify!($name) instead of "$name" in Debug impl
...
Otherwise it would output a literal "$name" string.
2020-11-16 13:21:57 +02:00
Sebastian Dröge
3d3bdf9aa3
gstreamer-rtsp-server: Make virtual methods take wrapper of type, not parent
2020-11-14 19:39:27 +02:00
Sebastian Dröge
b861f724c4
gstreamer-video: Make virtual methods take wrapper of type, not parent
2020-11-14 19:39:27 +02:00
Sebastian Dröge
29c9bcf667
gstreamer-audio: Make virtual methods take wrapper of type, not parent
2020-11-14 19:39:27 +02:00
Sebastian Dröge
145f0ed6f5
gstreamer-base: Make virtual methods take wrapper of type, not parent
2020-11-14 19:39:27 +02:00
Sebastian Dröge
4eaf574cf8
gstreamer: Make virtual methods take wrapper of type, not parent
2020-11-14 19:39:27 +02:00
Sebastian Dröge
1d53b66858
Fix compilation with GLib subclassing changes
2020-11-14 19:39:27 +02:00
Guillaume Gomez
fec4e12410
Run cargo build on gir unless there was a git submodule update failure
2020-11-12 20:08:55 +01:00
François Laignel
ca96014c47
Use fully qualified path for plugin_desc in gst_plugin_define
...
This is required when gst_plugin_define is used from a a submodule
mod.rs (not from the crate's lib.rs).
2020-11-12 13:24:16 +01:00
Sebastian Dröge
be2f5c690b
examples/rtsp-server-subclass: Fix some clippy warnings
2020-11-12 10:20:31 +02:00