From 8452cd9efa92a73f237b7d02f6805eb48ffe4a3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 5 Dec 2022 12:10:53 +0200 Subject: [PATCH] webrtchttp: Fix missing import for docs build Part-of: --- net/webrtchttp/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/webrtchttp/src/lib.rs b/net/webrtchttp/src/lib.rs index 0cf8932a..f284b6ad 100644 --- a/net/webrtchttp/src/lib.rs +++ b/net/webrtchttp/src/lib.rs @@ -33,6 +33,8 @@ pub enum IceTransportPolicy { fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { #[cfg(feature = "doc")] { + use gst::prelude::*; + IceTransportPolicy::static_type().mark_as_plugin_api(gst::PluginAPIFlags::empty()); } whipsink::register(plugin)?;