diff options
author | Vivia Nikolaidou <vivia@ahiru.eu> | 2022-10-13 14:00:24 +0300 |
---|---|---|
committer | Vivia Nikolaidou <vivia@ahiru.eu> | 2022-10-13 14:22:36 +0300 |
commit | dbd5a44b900c36994a55474017ad875a0639b0bd (patch) | |
tree | 7fc7c7cfebc15d79f08f47e75cc4a227403f3824 /net | |
parent | 5f19639d0f38227c1b3fef275304d6284514eac5 (diff) |
hlssink3: Use #[cfg(feature = "doc")] on gst::prelude import
It otherwise gives a warning about the unused import
Diffstat (limited to 'net')
-rw-r--r-- | net/hlssink3/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/hlssink3/src/lib.rs b/net/hlssink3/src/lib.rs index c6fa7191..ecd25f00 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; |