Package uk.co.caprica.vlcj.binding.internal

Examples of uk.co.caprica.vlcj.binding.internal.libvlc_instance_t


public class BareBonesTest extends VlcjTest {

    public static void main(String[] args) throws Exception {
        LibVlc libvlc = LibVlc.INSTANCE;

        libvlc_instance_t instance = libvlc.libvlc_new(0, new String[] {});

        libvlc_media_player_t mediaPlayer = libvlc.libvlc_media_player_new(instance);
        libvlc_media_t media = libvlc.libvlc_media_new_path(instance, args[0]);
        libvlc.libvlc_media_player_set_media(mediaPlayer, media);
        libvlc.libvlc_media_player_play(mediaPlayer);
View Full Code Here


public class BareBonesParseTest extends VlcjTest {

    public static void main(String[] args) throws Exception {
        LibVlc libvlc = LibVlc.INSTANCE;

        libvlc_instance_t instance = libvlc.libvlc_new(0, new String[] {});

        libvlc_media_t media = libvlc.libvlc_media_new_path(instance, args[0]);

        libvlc.libvlc_media_parse(media); // <--- FATAL VM CRASH IF RUNNING on 32-bit Ubuntu and Java7
View Full Code Here

TOP

Related Classes of uk.co.caprica.vlcj.binding.internal.libvlc_instance_t

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.