mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-15 04:46:32 +00:00
b0fdbcec64
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>
23 lines
734 B
Text
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
|