gst-plugins-rs/video/gtk4/build.rs
Sebastian Dröge 36304a7d36 gtk4paintablesink: Don't initialize a GL context unless a GL platform is enabled
And also don't suggest in the template caps that GL might be supported.

For clarification, the wayland feature is also renamed to waylandegl and
using wayland gives a deprecation warning.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1837>
2024-10-02 14:12:12 +00:00

7 lines
193 B
Rust

fn main() {
#[cfg(feature = "wayland")]
{
println!("cargo:warning=\"wayland\" feature is deprecated, use \"waylandegl\" instead");
}
gst_plugin_version_helper::info()
}