Cargo Features

gst-plugin-gtk4 has no features set by default.

[dependencies]
gst-plugin-gtk4 = { version = "0.12.5", features = ["static", "wayland", "x11glx", "x11egl", "winegl", "dmabuf", "capi", "gtk_v4_10", "gtk_v4_12", "gtk_v4_14", "doc"] }
static
wayland dmabuf? = gdk-wayland, gst-gl, gst-gl-wayland

Enables v4_6 of gtk4

x11glx = gdk-x11, gst-gl, gst-gl-x11

Enables v4_6 of gtk4

x11egl = gdk-x11, gst-gl, gst-gl-egl

Enables v4_6 of gtk4

winegl = gst-gl-egl

Enables egl of gdk4-win32

dmabuf = gst-allocators, gtk_v4_14, wayland

Enables v1_24 of gstreamer-video

capi
gtk_v4_10 gtk_v4_12?

Enables v4_10 of gtk4

gtk_v4_12 gtk_v4_14? = gtk_v4_10

Enables v4_12 of gtk4

gtk_v4_14 dmabuf? = gtk_v4_12

Enables v4_14 of gtk4

doc

Enables v1_18 of gstreamer

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

gdk-wayland wayland?

Enables gdk4-wayland

gdk-x11 x11egl? x11glx?

Enables gdk4-x11

gst-gl wayland? x11egl? x11glx?

Enables gstreamer-gl

gst-allocators dmabuf?

Enables gstreamer-allocators

gst-gl-wayland wayland?

Enables gstreamer-gl-wayland

gst-gl-x11 x11glx?

Enables gstreamer-gl-x11

gst-gl-egl winegl? x11egl?

Enables gstreamer-gl-egl