webrtchttp: Fix missing import for docs build

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/949>
This commit is contained in:
Sebastian Dröge 2022-12-05 12:10:53 +02:00
parent 9c31344bbc
commit 8452cd9efa

View file

@ -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)?;