mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-11 20:01:35 +00:00
f9f30c4ced
a.k.a muting layers. Adding unit tests and making sure serialization works properly
24 lines
No EOL
1 KiB
Text
24 lines
No EOL
1 KiB
Text
description, handles-states=true,
|
|
ges-options={\
|
|
"--disable-mixing",
|
|
"--videosink=fakevideosink",
|
|
"--audiosink=fakesink"\
|
|
}
|
|
|
|
add-clip, name=clip, asset-id="framerate=30/1", layer-priority=0, type=GESTestClip, pattern=blue, duration=5000.0
|
|
set-layer-active, tracks={gesvideotrack0}, active=false, layer-priority=0
|
|
|
|
pause;
|
|
|
|
# Make sure the video test src is a gap test src.
|
|
check-property, target-element-factory-name=videotestsrc, property-name=pattern, property-value="100% Black"
|
|
check-property, target-element-factory-name=audiotestsrc, property-name=wave, property-value="Sine"
|
|
|
|
set-layer-active, tracks={gesvideotrack0}, active=true, layer-priority=0
|
|
set-layer-active, tracks={gesaudiotrack0}, active=false, layer-priority=0
|
|
commit;
|
|
# Make sure the video test src is the GESVideoTestSource and the audio test source is a gap
|
|
check-property, target-element-factory-name=videotestsrc, property-name=pattern, property-value="Blue"
|
|
check-property, target-element-factory-name=audiotestsrc, property-name=wave, property-value="Silence"
|
|
|
|
stop; |