gstreamer/subprojects/gst-plugins-bad/tests/validate/autovideoconvert/renegotiate.validatetest
Thibault Saunier b0fdbcec64 autovideoconvert: Handle passing bin description instead of factories
This way we can build our own well know bins for conversion keeping the
code simple.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/899>
2024-01-31 11:00:24 +00:00

23 lines
734 B
Text

meta,
args = {
"gltestsrc ! gldownload ! autovideoconvert name=convert ! capsfilter name=capsfilter caps=\"video/x-raw(memory:GLMemory)\" ! fakevideosink name=sink",
},
configs = {
"$(validateflow), pad=\"^convert:src$\", record-buffers=true, ignored-fields=\"stream-start={stream-id,group-id,stream},buffer={meta}\"",
}
crank-clock, repeat=2
wait, on-clock=true
foreach,
caps = <
"video/x-raw",
"video/x-raw(memory:GLMemory)",
"video/x-raw",
>,
actions = {
[checkpoint, text="Setup capsfilter caps=$(caps)"],
[set-properties, capsfilter::caps="$(caps)"],
[crank-clock, repeat=2],
[wait, on-clock=true],
}
stop