François Laignel
cd56d60352
Bus::get_pollfd generate doc for both unix & windows
...
There are different implementations and signatures for `get_pollfd` depending
on whether the target platform is unix or windows. When generating the doc,
we need both implementations to appear regardless of the target platform. This
commit is inspired by the way Rust `std` library deals with `process::Command`
OS dependent variants
(https://doc.rust-lang.org/std/process/struct.Command.html#impl-CommandExt ).
Documentation can't be accurate though as we can't use the`std::os::windows`
on `unix` and vice versa. As a workaround a fake fd class matching the other
platform is declared.
This could be further enhanced once `#[doc(cfg(...))]` is stabilized
(https://github.com/rust-lang/rust/issues/43781 ) by declaring `#[doc(cfg(unix))]`
or `#[doc(cfg(windows))]` instead of the hard coded comments `This is supported
on **Windows/Unix** only`. Unfortunately, these comments disappear when
generating will `--all-features` because they are not part of the documentation
in the gir file.
2018-03-19 13:48:59 +02:00
François Laignel
406eb119d3
message: add test_other_fields
...
Fixes https://github.com/sdroege/gstreamer-rs/pull/93
2018-03-19 10:32:07 +02:00
Sebastian Dröge
3a755219f4
Add Promise bindings
2018-03-19 10:32:07 +02:00
Sebastian Dröge
0112d22804
Various manual 1.14 API additions and remove deprecated functions
2018-03-19 10:32:07 +02:00
Sebastian Dröge
4864a1e089
Fix build
2018-03-19 10:32:07 +02:00
Sebastian Dröge
7f479b0e14
Use correct gstreamer-sys branch
2018-03-19 10:32:07 +02:00
Sebastian Dröge
1abe9cbeb9
Update gstreamer
2018-03-19 10:32:07 +02:00
Sebastian Dröge
6bd63ec8e7
Update gstreamer-video
2018-03-19 10:32:07 +02:00
Sebastian Dröge
033a391f89
Update gstreamer-sdp
2018-03-19 10:32:07 +02:00
Sebastian Dröge
1cf681f50e
Update gstreamer-rtsp
2018-03-19 10:32:07 +02:00
Sebastian Dröge
ba73440a9a
Update gstreamer-rtsp-server
2018-03-19 10:32:07 +02:00
Sebastian Dröge
68951d775f
Update gstreamer-player
2018-03-19 10:32:07 +02:00
Sebastian Dröge
c4cdcc7b68
Update gstreamer-pbutils
2018-03-19 10:32:07 +02:00
Sebastian Dröge
50505d19b8
Update gstreamer-net
2018-03-19 10:32:07 +02:00
Sebastian Dröge
99d4fe0925
Update gstreamer-base
2018-03-19 10:32:07 +02:00
Sebastian Dröge
a4f1300f72
Update gstreamer-audio
2018-03-19 10:32:07 +02:00
Sebastian Dröge
e3774ad458
Update gstreamer-app
2018-03-19 10:32:07 +02:00
Sebastian Dröge
b25a071145
Update gir-files from gstreamer-sys
2018-03-19 10:32:07 +02:00
François Laignel
88a68dff3e
Fix futures
crate not being pulled with feature dox
...
When feature `dox` is selected but not `futures`, the `futures` crate is not
available as a dependency leading to a "can't find crate for `futures`" error.
2018-03-19 10:31:41 +02:00
François Laignel
93442e94dd
element: add feature gate for test_call_async
...
Fixes https://github.com/sdroege/gstreamer-rs/pull/92
2018-03-16 17:51:56 +02:00
Sebastian Dröge
11c974a55e
Fix some unused import compiler warnings if using < v1_10
2018-03-16 12:28:20 +02:00
Sebastian Dröge
fc7cda4522
Directly dereference DebugCategory struct to read the threshold and #[inline]
...
This should improve logging performance if the threshold is not high
enough.
2018-03-16 12:27:36 +02:00
Sebastian Dröge
217a8671a5
More webrtc API fixup
2018-03-15 17:34:40 +02:00
Sebastian Dröge
3bf11dd4b4
Update for GstWebRTCICERole enum rename
2018-03-15 17:00:38 +02:00
Sebastian Dröge
9c390351c4
Add gstreamer-webrtc-sys
2018-03-15 12:18:06 +02:00
Sebastian Dröge
b488594eed
Regenerate everything for 1.13.91
2018-03-15 09:48:53 +02:00
Sebastian Dröge
605af9a77b
Require only 1.13.91 for the v1_14 feature for now
2018-03-15 09:45:31 +02:00
Sebastian Dröge
7819907118
Update gir-files to GStreamer 1.13.91
2018-03-15 09:44:58 +02:00
Sebastian Dröge
0cdf5744c3
Regenerate everything with new GIR files
2018-03-14 18:59:28 +02:00
Sebastian Dröge
c38af51bf0
Add Element::call_async() bindings
2018-03-14 15:42:17 +02:00
Fernando Jiménez Moreno
56555f6b52
Add gst-rtsp-server dependency to README
2018-03-12 20:49:14 +02:00
Sebastian Dröge
de8f4694f5
Add initial BufferPool bindings
2018-03-07 11:08:21 +02:00
Sebastian Dröge
6af207c3e4
Update gir-files to 1.13.1+
2018-03-02 22:24:09 +02:00
Mathieu Duponchelle
9448f1cc3e
Manual bindings for RTSPToken
2018-03-02 22:12:37 +02:00
Sebastian Dröge
3204009d98
Update GLib gir files from Debian/unstable
2018-03-02 21:58:19 +02:00
Sebastian Dröge
a3b294f0f2
Add back callback guards
2018-03-02 21:34:29 +02:00
Sebastian Dröge
808ff293ec
Regenerate everything with latest gir
2018-03-02 21:34:29 +02:00
Sebastian Dröge
dab93d4334
Update gir-files from gstreamer-sys
2018-03-02 21:17:04 +02:00
Sebastian Dröge
7e2df42638
Regenerate everything with latest GIR
2018-03-02 21:16:11 +02:00
Sebastian Dröge
d84e24e744
Update gir-files from gstreamer-rs
2018-03-02 21:13:59 +02:00
Sebastian Dröge
cd95920436
Run everything through rustfmt
2018-03-02 21:06:45 +02:00
Sebastian Dröge
7f265a23bd
Rename DiscovererStreamInfo iterator simply to Iter and don't re-export it top-level
2018-03-02 21:02:30 +02:00
Thiago Santos
c81e177cfb
pbutils: add discoverer APIs
...
Fixes https://github.com/sdroege/gstreamer-rs/pull/84
2018-03-02 21:02:24 +02:00
Mathieu Duponchelle
e6265341d5
Add rtsp-server-record example with authentication and TLS
...
Update the generated files to include TLS related functions,
override some auth and token functions.
2018-02-26 20:35:23 +02:00
Mathieu Duponchelle
f8108d3dcf
Update GstRtspServer-1.0.gir
2018-02-26 20:35:23 +02:00
Mathieu Duponchelle
7b082de6da
Regen with latest gir
2018-02-26 20:35:23 +02:00
Mathieu Duponchelle
ab0df6ddf0
examples: use Cargo.toml required-features
...
This lets us avoid #ifdef forests
2018-02-26 20:35:23 +02:00
Mathieu Duponchelle
45bb8fe3e0
rtpfecserver example: mux-seq property was removed from rtpulpfecenc
2018-02-26 19:19:59 +02:00
Sebastian Dröge
4117c01ff2
Run everything through latest rustfmt-nightly
2018-02-22 11:18:37 +01:00
Mathieu Duponchelle
1fbc5e7644
examples: add rtpfec example
...
Fixes https://github.com/sdroege/gstreamer-rs/pull/73
2018-02-22 07:45:22 +01:00