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