Package org.gstreamer.Bin

Examples of org.gstreamer.Bin.ELEMENT_ADDED


//    String name = Platform.isLinux() ? "xvimagesink" :
//                    Platform.isWindows() ? "d3dvideosink" :
//                    Platform.isMac() ? "osxvideosink" : null;
//    videosink = (BaseSink)ElementFactory.make(name, "VideoComponent" + counter++);
    autosink = (Bin)ElementFactory.make("autovideosink", "Sink4VideoComponent" + counter++);
    autosink.connect(new ELEMENT_ADDED() {
      public void elementAdded(Bin bin, Element element) {
        if (element instanceof BaseSink) {
          videosink = (BaseSink)element;
          for (Map.Entry<String, Object> e : properties.entrySet())
            videosink.set(e.getKey(), e.getValue());
View Full Code Here

TOP

Related Classes of org.gstreamer.Bin.ELEMENT_ADDED

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.