From dae2fd361f3563229dcf153f3c438d588031f831 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Wed, 5 May 2021 00:23:28 +0200 Subject: [PATCH] gl/{egl,wayland,x11}: Reexport gst_gl crate from root It is common for GStreamer crates to reexport all their (GStreamer-related) dependencies, and the GL windowing crates should not be an exception to this rule. Furthermore EGL documentation references `crate::gst_gl::GLDisplayType` in the crate root which would be unreachable otherwise. --- gstreamer-gl/egl/src/lib.rs | 1 + gstreamer-gl/wayland/src/lib.rs | 1 + gstreamer-gl/x11/src/lib.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/gstreamer-gl/egl/src/lib.rs b/gstreamer-gl/egl/src/lib.rs index e381264eb..a9e8a4bd9 100644 --- a/gstreamer-gl/egl/src/lib.rs +++ b/gstreamer-gl/egl/src/lib.rs @@ -9,6 +9,7 @@ #![cfg_attr(all(not(doctest), doc), feature(doc_cfg))] pub use ffi; +pub use gst_gl; macro_rules! assert_initialized_main_thread { () => { diff --git a/gstreamer-gl/wayland/src/lib.rs b/gstreamer-gl/wayland/src/lib.rs index 26d9b180d..c04c962f4 100644 --- a/gstreamer-gl/wayland/src/lib.rs +++ b/gstreamer-gl/wayland/src/lib.rs @@ -9,6 +9,7 @@ #![cfg_attr(all(not(doctest), doc), feature(doc_cfg))] pub use ffi; +pub use gst_gl; macro_rules! assert_initialized_main_thread { () => { diff --git a/gstreamer-gl/x11/src/lib.rs b/gstreamer-gl/x11/src/lib.rs index 6667d3d28..b529fd466 100644 --- a/gstreamer-gl/x11/src/lib.rs +++ b/gstreamer-gl/x11/src/lib.rs @@ -9,6 +9,7 @@ #![cfg_attr(all(not(doctest), doc), feature(doc_cfg))] pub use ffi; +pub use gst_gl; macro_rules! assert_initialized_main_thread { () => {