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

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


        // === Events relating to the media player ==============================

            case libvlc_MediaPlayerMediaChanged:
                if(MediaPlayerEventType.set(eventMask, MediaPlayerEventType.MEDIA_CHANGED)) {
                    libvlc_media_t mediaInstance = ((media_player_media_changed)event.u.getTypedValue(media_player_media_changed.class)).md;
                    result = new MediaPlayerMediaChangedEvent(mediaPlayer, mediaInstance, mediaPlayer.mrl(mediaInstance));
                }
                break;

            case libvlc_MediaPlayerNothingSpecial:
View Full Code Here


                            subItemIndex = 0;
                        }
                    }
                    if(subItemIndex != -1) {
                        // Get the required sub item from the list
                        libvlc_media_t subItem = libvlc.libvlc_media_list_item_at_index(subItems, subItemIndex);
                        Logger.debug("subItem={}", subItem);
                        // If there is an item to play...
                        if(subItem != null) {
                            Logger.debug("subItemMrl={}", mrl(subItem));
                            // Set the sub-item as the new media for the media player
View Full Code Here

        // === Events relating to the media list player =========================

            case libvlc_MediaListPlayerNextItemSet:
                if(MediaPlayerEventType.set(eventMask, MediaPlayerEventType.MEDIA_CHANGED)) {
                    libvlc_media_t media = ((media_list_player_next_item_set)event.u.getTypedValue(media_list_player_next_item_set.class)).item;
                    result = new MediaListPlayerNextItemSetEvent(mediaListPlayer, media, mediaListPlayer.mrl(media));
                }
                break;

            // === Events relating to the current media =============================
View Full Code Here

TOP

Related Classes of uk.co.caprica.vlcj.binding.internal.libvlc_media_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.