- Feb 13, 2021
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
-
So that we can set the mix matrix using both `&[&[f64]]` and `&[Vec<f64>]`.
-
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
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 gstreamer/gstreamer-rs#310
-
Sebastian Dröge authored
By mirroring the no-op behaviour of the C code instead of failing because of a NULL debug category. Fixes gstreamer/gstreamer-rs#306
-
Convenient API to simply get the current or pending state of the element.
-
- Dec 20, 2020
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
The raw pointer manipulation code was adding one indirection too many. Fixes gstreamer/gstreamer-rs#304
-
Aesthetics.
-
Same mistake as the previous commit. Clipppy didn't find this one though :)
-
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
-
-
-
-
Fix #299
-
- Nov 23, 2020
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
-
-
Sebastian Dröge authored
Otherwise it would output a literal "$name" string.
-
This is required when gst_plugin_define is used from a a submodule mod.rs (not from the crate's lib.rs).
-
Sebastian Dröge authored
-
Sebastian Dröge authored
And as a side-effect also get rid of the lifetime parameter of gst::TypeFind that was completely unused anyway.
-
Sebastian Dröge authored
-
-
found by cargo-udeps
-
When "{:?}" printing a Message[Ref], the following issues lower the experience: - If the Message seqnum is GST_SEQNUM_INVALID (0), a panic occurs due to an assertion failure in MessageRef::get_seqnum. - The src of the Message displays the GString address. Origin issue for an occurrence of the first case above fixed in gstreamer/gst-plugins-base!860
-
-
Crates using gst_plugin_define might not (need to) import `glib` directly into their scope; use the one imported in `gstreamer`s root to make this macro more portable. Besides, `glib` is prefixed with `$crate::` just below.
-
This macro might not have been imported in the surrounding scope where gst_panic_to_error is used, thus reference it directly by the full namespace.
-
- Nov 10, 2020
-
-
Nathan Widmyer authored
-