Package org.gstreamer

Examples of org.gstreamer.TagList$TagGetter


     * @return the TagList stored in this event.
     */
    public TagList getTagList() {
        Pointer[] taglist = new Pointer[1];
        gst.gst_event_parse_tag(this, taglist);
        TagList tl = new TagList(taglistInitializer(taglist[0], false, false));
        ReferenceManager.addKeepAliveReference(tl, this);
        return tl;
    }
View Full Code Here


            System.out.println("Leftover arg=" + s);
        }
        player = new PlayBin2("Example Player");
        player.setInputFile(new File(args[0]));
        Bus bus = player.getBus();
        tags = new TagList();
        bus.connect(new Bus.TAG() {
            public void tagsFound(GstObject source, TagList tagList) {
                System.out.println("Got TAG event");
                for (String tag : tagList.getTagNames()) {
                    System.out.println("Tag " + tag + " = " + tagList.getValue(tag, 0));
View Full Code Here

TOP

Related Classes of org.gstreamer.TagList$TagGetter

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.