mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 03:16:33 +00:00
e153c558c7
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>
22 lines
No EOL
667 B
Text
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 |