gstreamer/tests/check/scenarios/check_layer_activness_gaps.scenario

24 lines
1 KiB
Text
Raw Normal View History

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;