Use fully qualified path for plugin_desc in gst_plugin_define

This is required when gst_plugin_define is used from a a submodule
mod.rs (not from the crate's lib.rs).
This commit is contained in:
François Laignel 2020-11-12 13:24:16 +01:00
parent be2f5c690b
commit ca96014c47
2 changed files with 2 additions and 2 deletions

View file

@ -94,6 +94,6 @@ macro_rules! gst_plugin_define(
} }
} }
} }
pub use plugin_desc::plugin_register_static; pub use self::plugin_desc::plugin_register_static;
}; };
); );

View file

@ -106,6 +106,6 @@ macro_rules! gst_plugin_define(
} }
} }
} }
pub use plugin_desc::plugin_register_static; pub use self::plugin_desc::plugin_register_static;
}; };
); );