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:
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>2023-12-26 21:15:15 +0300
committerGuillaume Desmottes <guillaume.desmottes@onestream.live>2023-12-27 01:22:35 +0300
commitd9397ef1743ac92e84784d00b93dc0877d44f966 (patch)
tree01dfb149c527f366c882ca242f5212feb215a90f
parent17f0b6157685e7ff0d8893a453edd332c4a3d3e5 (diff)
gtk4: fix build on Windows using winegl
from_glib_full() was not in scope. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1417>
-rw-r--r--video/gtk4/src/sink/imp.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/gtk4/src/sink/imp.rs b/video/gtk4/src/sink/imp.rs
index fd5b7fd4..28936d3f 100644
--- a/video/gtk4/src/sink/imp.rs
+++ b/video/gtk4/src/sink/imp.rs
@@ -963,6 +963,7 @@ impl PaintableSink {
// FIXME: bindings
unsafe {
use gdk_win32::prelude::*;
+ use glib::translate::*;
let d = display.downcast::<gdk_win32::Win32Display>().unwrap();
let egl_display = d.egl_display().unwrap().as_ptr();