Cargo Features

[dependencies]
gst-plugin-gtk4 = { version = "0.14.4", default-features = false, features = ["static", "wayland", "waylandegl", "x11glx", "x11egl", "winegl", "dmabuf", "capi", "gtk_v4_10", "gtk_v4_12", "gtk_v4_14", "gtk_v4_16", "gtk_v4_18", "gtk_v4_20", "doc"] }
default = gtk_v4_10

The gtk_v4_10 feature is set by default whenever gst-plugin-gtk4 is added without default-features = false somewhere in the dependency tree.

static
wayland = waylandegl

Deprecated

waylandegl wayland? = gdk-wayland, gst-gl-wayland
x11glx = gdk-x11, gst-gl-x11
x11egl = gdk-x11, gst-gl-egl
winegl = gst-gl-egl

Enables egl of gdk4-win32

dmabuf = gst-allocators, gtk_v4_14

Enables v1_24 of gstreamer-video

capi
gtk_v4_10 default 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_16? = gtk_v4_12

Enables v4_14 of gtk4

gtk_v4_16 gtk_v4_18? = gtk_v4_14

Enables v4_16 of gtk4

gtk_v4_18 gtk_v4_20? = gtk_v4_16

Enables v4_18 of gtk4

gtk_v4_20 = gtk_v4_18

Enables v4_20 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 waylandegl?

Enables gdk4-wayland

gdk-x11 x11egl? x11glx?

Enables gdk4-x11

gst-allocators dmabuf?

Enables gstreamer-allocators

gst-gl-wayland waylandegl?

Enables gstreamer-gl-wayland

gst-gl-x11 x11glx?

Enables gstreamer-gl-x11

gst-gl-egl winegl? x11egl?

Enables gstreamer-gl-egl