Commits on Source (85)
-
Sebastian Dröge authored4a5987d0
-
Sebastian Dröge authored91d0723c
-
Sebastian Dröge authored
Like all GObjects, mutation works through interior mutability.
c56251d6 -
Sebastian Dröge authored25a8ce4f
-
Sebastian Dröge authoredf4da93aa
-
Sebastian Dröge authored
Should fix https://github.com/sdroege/gstreamer-rs/issues/68
755982bb -
1722b047
-
Sebastian Dröge authoredd4486971
-
Sebastian Dröge authoredf47b30b8
-
Sebastian Dröge authored4a9cb506
-
Sebastian Dröge authored
For consistency with the C API naming.
65468c1f -
Sebastian Dröge authored
Values are passed owned to the callback
c52da363 -
Sebastian Dröge authored6083fb63
-
Sebastian Dröge authored
Not very useful, but will be useful for gst-plugin-rs
38bd880a -
Sebastian Dröge authoreda65016be
-
Sebastian Dröge authored
This is like VideoFrame, but can work on gst::BufferRefs and borrows from it. VideoFrames can be converted into this by borrowing.
899be5e2 -
Sebastian Dröge authored98290bcc
-
Sebastian Dröge authored4297f8f5
-
Sebastian Dröge authored
VideoFrames can always be converted to a VideoFrameRef if needed.
fc4ad817 -
Sebastian Dröge authored
These should never ever be 0, and passing 0 to any of the functions using them will result in assertions.
ad219dd1 -
fa1b0e6c
-
b6979f24
-
Building an argument-less message such as eos yields an assertion failure due to the inner structure being null. The short term solution consists in checking that the inner `structure` is not `null` before attempting to insert `other_fields`. The consequence is that `others_fields` defined for argument-less messages will be ignored. A correction will be applied when GStreamer 1.14 is released thank to the introduction of `gst_message_writable_structure` (see https://bugzilla.gnome.org/show_bug.cgi?id=792928). Due to the dependency on GStreamer 1.14, the correction will be only available under the activation of a feature "v1_14". Events are not affected as the build method the availability of `gst_event_writable_structure` and this function "will never return NULL". However, we can avoid a `structure` allocation for argument-less messages without `other_fields`.
3c65a500 -
These methods are commented out in order to maintain consistency between messages with and without arguments. It will be restored and conditioned to feature "v1_14" when GStreamer v1.14 is released.
86812c1a -
Implement `deref` for concrete derivatives of `Event`, `Message` and `Query`. This allows accessing generic methods such as `is_sticky` for events, `get_seqnum` for messages or `is_serialized` for queries and `get_structure` for all.
2d1218e6 -
Concrete events and messages share common attributes which can be factorized in generic builder `struct`s. This reduces noise in the concrete implementations.
da924e5d -
Generic methods for events, messages and queries can now be invoked from the concrete type.
21c687f2 -
Generic methods for events, messages and queries can now be invoked from the concrete type.
ce28fed0 -
ac31688f
-
Sebastian Dröge authored6d0d7a3d
-
Sebastian Dröge authored2f179a83
-
Sebastian Dröge authored08dbde4c
-
Only automatic bindings for now, which is enough to allow implementing a simple rtsp-server example. Depends on https://github.com/sdroege/gstreamer-sys/pull/8 Uses a new gir feature proposed at https://github.com/gtk-rs/gir/pull/539 to make doc regeneration easier. Fixes https://github.com/sdroege/gstreamer-rs/pull/80
a00243d5 -
Sebastian Dröge authored
This enables most of the signals of GstRTSPClient
b4d5c988 -
Allow instantiating and dereferencing concrete queries. The motivation for this proposal is to allow the following usability enhancements: - Concrete queries mutability guaranteed by the borrow checker, including for generic functions: ``` rust let mut p = Query::new_position(::Format::Time); p.get_mut_structure().set("check_mut", &true); ``` - Concrete queries functions available in place: ``` rust let mut q = gst::Query::new_duration(gst::Format::Time); let duration = if pipeline.query(&mut q) { Some(q.get_result()) } else { None }; ```
c9717271 -
Sebastian Dröge authored
Since Rust 1.24 it is safe to let panics go to the FFI boundary
f1426c82 -
Sebastian Dröge authoredf92f0a99
-
84e4546f
-
Sebastian Dröge authored828f639c
-
1fbc5e76
-
Sebastian Dröge authored4117c01f
-
45bb8fe3
-
This lets us avoid #ifdef forests
ab0df6dd -
7b082de6
-
f8108d3d
-
Update the generated files to include TLS related functions, override some auth and token functions.
e6265341 -
c81e177c
-
Sebastian Dröge authored7f265a23
-
Sebastian Dröge authoredcd959204
-
Sebastian Dröge authoreddab93d43
-
Sebastian Dröge authored808ff293
-
Sebastian Dröge authoreda3b294f0
-
9448f1cc
-
Sebastian Dröge authoredde8f4694
-
56555f6b
-
Sebastian Dröge authoredc38af51b
-
Sebastian Dröge authored
This should improve logging performance if the threshold is not high enough.
fc7cda45 -
Sebastian Dröge authored11c974a5
-
93442e94
-
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.
88a68dff -
Sebastian Dröge authoredb25a0711
-
Sebastian Dröge authorede3774ad4
-
Sebastian Dröge authoreda4f1300f
-
Sebastian Dröge authored99d4fe09
-
Sebastian Dröge authored50505d19
-
Sebastian Dröge authoredc4cdcc7b
-
Sebastian Dröge authored68951d77
-
Sebastian Dröge authoredba73440a
-
Sebastian Dröge authored1cf681f5
-
Sebastian Dröge authored033a391f
-
Sebastian Dröge authored6bd63ec8
-
Sebastian Dröge authored1abe9cbe
-
Sebastian Dröge authored7f479b0e
-
Sebastian Dröge authored4864a1e0
-
Sebastian Dröge authored0112d228
-
Sebastian Dröge authored3a755219
-
406eb119
-
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.
cd56d603 -
Sebastian Dröge authored185fdd02
-
Sebastian Dröge authoreda33fd41d
-
Sebastian Dröge authoreda6edcf43
-
Sebastian Dröge authored68ba4d23
-
Sebastian Dröge authoredf3924399
-
Sebastian Dröge authored4c13502e
-
Sebastian Dröge authored7dbe49f6
Gir_GstPbutils.toml
0 → 100644
Gir_GstRtsp.toml
0 → 100644
Gir_GstRtspServer.toml
0 → 100644
Gir_GstSdp.toml
0 → 100644
docs/gstreamer-pbutils/docs.md
0 → 100644