mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-09-02 01:43:49 +00:00
egl: Add prelude to re-export new extension trait
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1719>
This commit is contained in:
parent
127ec39f44
commit
5ff9e99e0c
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