diff options
author | Jan Schmidt <jan@centricular.com> | 2015-06-26 03:29:27 +1000 |
---|---|---|
committer | Jan Schmidt <jan@centricular.com> | 2016-11-02 12:04:33 +1100 |
commit | 5a5ae1be1fc22ab538fb74984a99ce9d8f708f80 (patch) | |
tree | e7a7f7955f0a1634222405518cb55912cfc339f0 /tests | |
parent | bf3a7c54f7a22cbedc842fcf5868b756e9091fad (diff) |
parse-launch: Support linking all pads with new operator
Introduce a new operator ':' - e.g. element1 ':' element2
For example, 'uridecodebin : encodebin' -
if the encodebin has multiple profiles compatible with the
decodebin, multiple links will be created.
With '!' , after one delayed link is successfully done, the
pad-added callback is disconnected.
https://bugzilla.gnome.org/show_bug.cgi?id=751450
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/pipelines/parse-launch.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/check/pipelines/parse-launch.c b/tests/check/pipelines/parse-launch.c index 64720700c..6e91165e0 100644 --- a/tests/check/pipelines/parse-launch.c +++ b/tests/check/pipelines/parse-launch.c @@ -108,6 +108,10 @@ static const gchar *test_lines[] = { /* "(name=mabin fakesrc) mabin. ! fakesink", FIXME: linking to named bin does not work yet */ /* "(name=mabin name=yoyo fakesrc) yoyo. ! fakesink", FIXME: linking to named bin does not work yet */ "deepsrc. ! fakesink fakesrc ! ( identity ! ( identity ! ( identity name=deepsrc ) ) )", /* deep name resolution, multilevel ghostpad creation */ + "fakesrc : fakesink", /* linking all matching pads */ + "fakesrc : video/x-all : fakesink", /* linking all matching pads with filter */ + "fakesrc ! video/x-all : fakesink", /* linking all matching pads with filter */ + "fakesrc : video/x-all ! fakesink", /* linking all matching pads with filter */ NULL }; |