mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-04-15 04:14:07 +00:00
egl: Add prelude to re-export new extension trait
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1694>
This commit is contained in:
parent
092cb6bcbd
commit
f56078ca5a
1 changed files with 9 additions and 0 deletions
|
@ -26,3 +26,12 @@ mod auto;
|
|||
pub use auto::*;
|
||||
|
||||
mod gl_display_egl;
|
||||
|
||||
// Re-export all the traits in a prelude module, so that applications
|
||||
// can always "use gst_egl::prelude::*" without getting conflicts
|
||||
pub mod prelude {
|
||||
#[doc(hidden)]
|
||||
pub use gst_gl::prelude::*;
|
||||
|
||||
pub use crate::auto::traits::*;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue