pipewire/src
Charles b4baa180db gst: skip invalid crop metadata in pipewiresrc
META_VideoCrop is present on every buffer negotiated through the
adapter, even when the producer never sets a meaningful crop
region. Before commit c634ef961, gst_buffer_get_video_crop_meta
returned NULL on new GstBuffers so the zero values were never
applied. After that commit, gst_buffer_add_video_crop_meta always
succeeds, and an invalid crop produces black frames.

Without this, the following produces black frames,

Producer:

gst-launch-1.0 videotestsrc is-live=true ! \
  video/x-raw,format=I420,width=1280,height=720,framerate=24/1 ! \
  pipewiresink mode=provide \
  stream-properties="properties,media.class=Video/Source,media.role=Camera" \
  client-name=VirtualCam

Consumer:

gst-launch-1.0 pipewiresrc path=<id> ! videoconvert ! autovideosink
2026-07-07 14:28:57 +02:00
..
daemon conf: disable portal.rt for pipewire and pipewire-pulse 2026-06-15 12:53:48 +02:00
examples stream: Make capability device IDs an JSON object 2026-01-22 16:08:19 +00:00
gst gst: skip invalid crop metadata in pipewiresrc 2026-07-07 14:28:57 +02:00
modules client-node: clear mix when clearing the node 2026-07-07 14:28:42 +02:00
pipewire impl-node: trigger a graph recalc on active node with driver 2026-06-25 14:22:34 +02:00
tests treewide: make more file descriptors cloexec 2026-05-08 14:53:01 +02:00
tools pw-cat: send midi as-is by default 2026-05-25 11:26:32 +02:00
meson.build meson.build: fix compile with -Dexamples=disabled 2023-11-28 10:18:25 +00:00