gst-plugins-rs/video/gtk4
Ruben Gonzalez ea93b8896d gtk4: Fix segfault running gst-inspect -a when GTK4 and GTK3 is installed
Segmentation fault when getting default value of paintable property
from gtk4paintablesink element when libgtk-4.so.1 from libgstgtk4.so
and libgtk-3.so.0 from libgstgtk.so are installed:

> cannot register existing type 'GdkDisplayManager'

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/490

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1456>
2024-02-12 19:07:07 +02:00
..
examples gtk4: Add python example 2023-07-05 14:41:21 +03:00
src gtk4: Fix segfault running gst-inspect -a when GTK4 and GTK3 is installed 2024-02-12 19:07:07 +02:00
build.rs Add a GTK4 paintable sink plugin 2021-10-13 12:28:51 +03:00
Cargo.toml Update versions to 0.9.12 2023-11-10 17:47:41 +02:00
LICENSE-MPL-2.0 git: replace LICENSE file symlinks with copies 2023-04-05 18:17:16 +03:00
README.md video/gtk4: Implement support for GLTextures when possible. 2022-12-12 13:34:22 +02:00

Gtk 4 Sink & Paintable

GTK 4 provides gtk::Video & gtk::Picture for rendering media such as videos. As the default gtk::Video widget doesn't offer the possibility to use a custom gst::Pipeline. The plugin provides a gst_video::VideoSink along with a gdk::Paintable that's capable of rendering the sink's frames.

The Sink can generate GL Textures if the system is capable of it, but it needs to be compiled with either wayland, x11glx or x11egl cargo features.