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 committed by Sebastian Dröge
parent 8c4ebdec1e
commit 3bf946ed11
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;
};
);