Top |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseTransform ╰── GstCapsFilter
The element does not modify data as such, but can enforce limitations on the data format.
1 |
gst-launch-1.0 videotestsrc ! capsfilter caps=video/x-raw,format=GRAY8 ! videoconvert ! autovideosink |
Limits acceptable video from videotestsrc to be grayscale. Equivalent to
1 |
gst-launch-1.0 videotestsrc ! video/x-raw,format=GRAY8 ! videoconvert ! autovideosink |
which is a short notation for the capsfilter element.
“caps”
property“caps” GstCaps *
Restrict the possible allowed capabilities (NULL means ANY). Setting this property takes a reference to the supplied GstCaps object.
Flags: Read / Write
“caps-change-mode”
property“caps-change-mode” GstCapsFilterCapsChangeMode
Filter caps change behaviour.
Flags: Read / Write
Default value: Only accept the current filter caps