Package org.gstreamer

Examples of org.gstreamer.Version


    /** Creates a new instance of GstInitTest */
    public InitTest() {
    }
    public static void main(String[] args) {
        args = Gst.init("foo", args);
        Version version = Gst.getVersion();
        System.out.printf("Gstreamer version %d.%d.%d%s initialized!",
                version.getMajor(), version.getMinor(), version.getMicro(),
                version.getNano() == 1 ? " (CVS)" : version.getNano() >= 2 ? " (Pre-release)" : "");
    }
View Full Code Here


        final String PREFIX = "DIAG: ";
        System.out.flush();
        System.out.println(PREFIX + jnaVersion);

        args = Gst.init("unknown", args);
        Version v = Gst.getVersion();
        System.out.println(PREFIX + "Gst.init succeeded. gstreamer version " + v);
        System.out.flush();
        pipe = new Pipeline();
        if (pipe == null) {
            throw new RuntimeException("Failed to create Pipeline");
View Full Code Here

TOP

Related Classes of org.gstreamer.Version

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.