Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'video/gtk4/src/sink/paintable/mod.rs')
-rw-r--r--video/gtk4/src/sink/paintable/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/gtk4/src/sink/paintable/mod.rs b/video/gtk4/src/sink/paintable/mod.rs
index 835c43de..a6f857dd 100644
--- a/video/gtk4/src/sink/paintable/mod.rs
+++ b/video/gtk4/src/sink/paintable/mod.rs
@@ -30,6 +30,11 @@ impl Paintable {
}
impl Paintable {
+ #[cfg(feature = "gst_gl")]
+ pub(crate) fn context(&self) -> Option<gdk::GLContext> {
+ self.imp().context()
+ }
+
pub(crate) fn handle_frame_changed(&self, frame: Option<Frame>) {
self.imp().handle_frame_changed(frame);
}