[Android] mediaplayer: remove unused function

Thomas Guillem git at videolan.org
Fri Jul 3 14:16:50 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jul  3 14:15:44 2015 +0200| [8ee655cf888b38b82c3a44d264b33d4824fcfdc1] | committer: Thomas Guillem

mediaplayer: remove unused function

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=8ee655cf888b38b82c3a44d264b33d4824fcfdc1
---

 libvlc/jni/libvlcjni-mediaplayer.c |   20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/libvlc/jni/libvlcjni-mediaplayer.c b/libvlc/jni/libvlcjni-mediaplayer.c
index 16c750f..44da76c 100644
--- a/libvlc/jni/libvlcjni-mediaplayer.c
+++ b/libvlc/jni/libvlcjni-mediaplayer.c
@@ -393,26 +393,6 @@ Java_org_videolan_libvlc_MediaPlayer_getChapter(JNIEnv *env, jobject thiz)
     return libvlc_media_player_get_chapter(p_obj->u.p_mp);
 }
 
-jstring
-Java_org_videolan_libvlc_MediaPlayer_getChapterDescription(JNIEnv *env,
-                                                           jobject thiz,
-                                                           jint title)
-{
-    libvlc_track_description_t *description;
-    jstring string = NULL;
-    vlcjni_object *p_obj = VLCJniObject_getInstance(env, thiz);
-
-    if (!p_obj)
-        return NULL;
-
-    description = libvlc_video_get_chapter_description(p_obj->u.p_mp, title);
-    if (description) {
-        string = (*env)->NewStringUTF(env, description->psz_name);
-        free(description);
-    }
-    return string;
-}
-
 void
 Java_org_videolan_libvlc_MediaPlayer_setChapter(JNIEnv *env, jobject thiz,
                                                 jint chapter)



More information about the Android mailing list