gst-plugins-rs/video/gtk4
Sebastian Dröge 755f021a30 gtk4: Only support RGBA/RGB in the GL code path
For all other component orderings a shader is necessary to re-order the
components for what GTK expects.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1328>
2023-09-20 13:52:34 +03:00
..
examples gtk4: Add python example 2023-07-05 14:41:21 +03:00
src gtk4: Only support RGBA/RGB in the GL code path 2023-09-20 13:52:34 +03:00
build.rs Add a GTK4 paintable sink plugin 2021-10-13 12:28:51 +03:00
Cargo.toml Update version to 0.9.11 2023-07-20 15:15:07 +03: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.