| 1 |
# Sets up 3 levels of nested composition and verify the dataflow. |
| 2 |
# This allows us to verify that we do not end up seeking nested |
| 3 |
# timelines unnecessarily. |
| 4 |
meta, |
| 5 |
handles-states=true, |
| 6 |
ignore-eos=true, |
| 7 |
args={ |
| 8 |
"nlecomposition name=compo ! video/x-raw,format=(string)YUY2,framerate=(fraction)30/1,height=(int)240,interlace-mode=(string)progressive, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, width=(int)320 ! videoconvert ! $(videosink)", |
| 9 |
}, |
| 10 |
configs = { |
| 11 |
"$(validateflow), pad=overlay:src, buffers-checksum=as-id, ignored-event-types={ tag }, ignored-fields = \"buffer={meta}\"", |
| 12 |
"$(validateflow), pad=source_L0:src, buffers-checksum=as-id, ignored-event-types={ tag }", |
| 13 |
"$(validateflow), pad=source_L1:src, buffers-checksum=as-id, ignored-event-types={ tag }", |
| 14 |
"$(validateflow), pad=source_L2:src, buffers-checksum=as-id, ignored-event-types={ tag }", |
| 15 |
"$(validateflow), pad=source_L3:src, buffers-checksum=as-id, ignored-event-types={ tag }", |
| 16 |
} |
| 17 |
|
| 18 |
nle-add-child, object-name="compo", desc="nlesource name=source_L0 inpoint=0 duration=200000000" |
| 19 |
nle-add-child, object-name="source_L0", desc="nlecomposition name=compo_L1" |
| 20 |
nle-add-child, object-name="compo_L1", desc="nlesource name=source_L1 inpoint=0 duration=200000000" |
| 21 |
nle-add-child, object-name="source_L1", desc="nlecomposition name=compo_L2" |
| 22 |
nle-add-child, object-name="compo_L2", desc="nlesource name=source_L2 inpoint=0 duration=200000000" |
| 23 |
nle-add-child, object-name="source_L2", desc="nlecomposition name=compo_L3" |
| 24 |
nle-add-child, object-name="compo_L3", desc="nlesource name=source_L3 inpoint=200000000 duration=200000000" |
| 25 |
nle-add-child, object-name="source_L3", desc="videotestsrc ! timeoverlay name=overlay" |
| 26 |
|
| 27 |
play |
| 28 |
check-position, on-message=eos, expected-position=0.2 |
| 29 |
|
| 30 |
stop |
| 31 |
|