shell.setText("SWT Video Test");
Pipeline pipe = new Pipeline("SWT Overlay Test");
Element src = ElementFactory.make("videotestsrc", "videotest");
VideoComponent component = new VideoComponent(shell, SWT.NONE, true);
component.getElement().setName("video");
component.setKeepAspect(true);
component.setLayoutData(new GridData(GridData.FILL_BOTH));
Element sink = component.getElement();
pipe.addMany(src, sink);
Element.linkMany(src, sink);
pipe.play();