Pipeline pipeline = new PipelineImpl("test");
pipeline.addAndLink(source, init, mainSink);
pipeline.add(encodingsSink, pixelFormatSink, initSink);
pipeline.link("init >otout", "initSink");
pipeline.link("init >" + CLIENT_SUPPORTED_ENCODINGS_ADAPTER_PAD, "encodings");
pipeline.link("init >" + CLIENT_PIXEL_FORMAT_ADAPTER_PAD, "pixel_format");
pipeline.runMainLoop("source", STDOUT, false, false);
if (!screen.isRGB888_32_LE())
System.err.println("Screen description was read incorrectly: " + screen + ".");