gstreamer/subprojects/gst-plugins-bad/tests/validate/autovideoconvert/renegotiate.validatetest
Thibault Saunier e153c558c7 autoconvert: Handle reconfiguring on the srcpad
Only upstream renegotiation was properly handled, we needed to answer
that when downstream forces a renegotiation we take into account the
new downstream restrictions.

And add tests for it

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

22 lines
No EOL
667 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 = {
[set-properties, capsfilter::caps="$(caps)"],
[crank-clock, repeat=2],
[wait, on-clock=true],
}
stop