Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivia Nikolaidou <vivia@ahiru.eu>2022-10-13 14:00:24 +0300
committerVivia Nikolaidou <vivia@ahiru.eu>2022-10-13 14:22:36 +0300
commitdbd5a44b900c36994a55474017ad875a0639b0bd (patch)
tree7fc7c7cfebc15d79f08f47e75cc4a227403f3824 /net/hlssink3
parent5f19639d0f38227c1b3fef275304d6284514eac5 (diff)
hlssink3: Use #[cfg(feature = "doc")] on gst::prelude import
It otherwise gives a warning about the unused import
Diffstat (limited to 'net/hlssink3')
-rw-r--r--net/hlssink3/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/hlssink3/src/lib.rs b/net/hlssink3/src/lib.rs
index c6fa71916..ecd25f00e 100644
--- a/net/hlssink3/src/lib.rs
+++ b/net/hlssink3/src/lib.rs
@@ -13,6 +13,7 @@
* Since: plugins-rs-0.8.0
*/
use glib::prelude::*;
+#[cfg(feature = "doc")]
use gst::prelude::*;
mod imp;