[Android] [WIP PATCH 04/11] libvlc: remove unused readTracksInfoInternal

Thomas Guillem thomas at gllm.fr
Tue Dec 23 18:38:25 CET 2014


---
 libvlc/jni/libvlcjni-track.c               | 16 ----------------
 libvlc/src/org/videolan/libvlc/LibVLC.java |  2 --
 2 files changed, 18 deletions(-)

diff --git a/libvlc/jni/libvlcjni-track.c b/libvlc/jni/libvlcjni-track.c
index 7b1dc05..4a86019 100644
--- a/libvlc/jni/libvlcjni-track.c
+++ b/libvlc/jni/libvlcjni-track.c
@@ -213,22 +213,6 @@ jobjectArray Java_org_videolan_libvlc_LibVLC_readTracksInfo(JNIEnv *env, jobject
     return jar;
 }
 
-
-jobjectArray Java_org_videolan_libvlc_LibVLC_readTracksInfoInternal(JNIEnv *env, jobject thiz)
-{
-    libvlc_media_player_t* p_mp = getMediaPlayer(env, thiz);
-    if (p_mp == NULL) {
-        LOGE("No media player!");
-        return NULL;
-    }
-    libvlc_media_t *p_m = libvlc_media_player_get_media(p_mp);
-    if (p_m == NULL) {
-        LOGE("Could not load internal media!");
-        return NULL;
-    } else
-        return read_track_info_internal(env, thiz, p_m);
-}
-
 jint Java_org_videolan_libvlc_LibVLC_getAudioTracksCount(JNIEnv *env, jobject thiz)
 {
     libvlc_media_player_t *mp = getMediaPlayer(env, thiz);
diff --git a/libvlc/src/org/videolan/libvlc/LibVLC.java b/libvlc/src/org/videolan/libvlc/LibVLC.java
index 5340dd1..2d03283 100644
--- a/libvlc/src/org/videolan/libvlc/LibVLC.java
+++ b/libvlc/src/org/videolan/libvlc/LibVLC.java
@@ -766,8 +766,6 @@ public class LibVLC {
 
     public native TrackInfo[] readTracksInfo(String mrl);
 
-    public native TrackInfo[] readTracksInfoInternal();
-
     public native int getAudioTracksCount();
 
     public native Map<Integer,String> getAudioTrackDescription();
-- 
2.1.3



More information about the Android mailing list