Examples of GstCallback


Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

     * Adds a listener for the <code>new-buffer-list</code> signal.
     *
     * @param listener
     */
    public void connect(final NEW_BUFFER_LIST listener) {
        connect(NEW_BUFFER_LIST.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(AppSink elem) {
                listener.newBufferList(elem);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

    }
    /**
     * Adds a listener for the <code>about-to-finish</code> signal
     */
    public void connect(final ABOUT_TO_FINISH listener) {
        connect(ABOUT_TO_FINISH.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(PlayBin2 elem) {
                listener.aboutToFinish(elem);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

    }
    /**
     * Adds a listener for the <code>video-changed</code> signal
     */
    public void connect(final VIDEO_CHANGED listener) {
        connect(VIDEO_CHANGED.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(PlayBin2 elem) {
                listener.videoChanged(elem);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

    }
    /**
     * Adds a listener for the <code>audio-changed</code> signal
     */
    public void connect(final AUDIO_CHANGED listener) {
        connect(AUDIO_CHANGED.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(PlayBin2 elem) {
                listener.audioChanged(elem);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

    }
    /**
     * Adds a listener for the <code>audio-changed</code> signal
     */
    public void connect(final TEXT_CHANGED listener) {
        connect(TEXT_CHANGED.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(PlayBin2 elem) {
                listener.textChanged(elem);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

    }
    /**
     * Adds a listener for the <code>video-tags-changed</code> signal
     */
    public void connect(final VIDEO_TAGS_CHANGED listener) {
        connect(VIDEO_TAGS_CHANGED.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(PlayBin2 elem, int stream) {
                listener.videoTagsChanged(elem, stream);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

    }
    /**
     * Adds a listener for the <code>audio-tags-changed</code> signal
     */
    public void connect(final AUDIO_TAGS_CHANGED listener) {
        connect(AUDIO_TAGS_CHANGED.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(PlayBin2 elem, int stream) {
                listener.audioTagsChanged(elem, stream);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

    }
    /**
     * Adds a listener for the <code>audio-tags-changed</code> signal
     */
    public void connect(final TEXT_TAGS_CHANGED listener) {
        connect(TEXT_TAGS_CHANGED.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(PlayBin2 elem, int stream) {
                listener.textTagsChanged(elem, stream);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

     * Adds a listener for the <code>need-data</code> signal
     *
     * @param listener Listener to be called when appsrc needs data.
     */
    public void connect(final NEED_DATA listener) {
        connect(NEED_DATA.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(AppSrc elem, int size) {
                listener.needData(elem, size);
            }
        });
View Full Code Here

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback

     * Adds a listener for the <code>enough-data</code> signal
     *
     * @param listener Listener to be called this when appsrc fills its queue.
     */
    public void connect(final ENOUGH_DATA listener) {
        connect(ENOUGH_DATA.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public void callback(AppSrc elem) {
                listener.enoughData(elem);
            }
        });
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.