[Android] Media: remove redundant function
Edward Wang
git at videolan.org
Mon Oct 28 04:14:42 CET 2013
vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sun Oct 27 22:27:47 2013 -0400| [e0d06adcc696f15e95a04e17aa4da56aebdcdccd] | committer: Edward Wang
Media: remove redundant function
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=e0d06adcc696f15e95a04e17aa4da56aebdcdccd
---
vlc-android/src/org/videolan/vlc/Media.java | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/Media.java b/vlc-android/src/org/videolan/vlc/Media.java
index 70f2d72..9d2797d 100644
--- a/vlc-android/src/org/videolan/vlc/Media.java
+++ b/vlc-android/src/org/videolan/vlc/Media.java
@@ -25,7 +25,6 @@ import java.util.Locale;
import org.videolan.libvlc.LibVLC;
import org.videolan.libvlc.LibVlcException;
-import org.videolan.libvlc.MediaList;
import org.videolan.libvlc.TrackInfo;
import android.content.Context;
@@ -157,22 +156,6 @@ public class Media implements Comparable<Media> {
}
}
- public Media(String URI, MediaList list, int position) {
- mLocation = URI;
-
- LibVLC mLibVlc = null;
- try {
- mLibVlc = Util.getLibVlcInstance();
- mType = TYPE_ALL;
-
- TrackInfo[] tracks = mLibVlc.readTracksInfoPosition(list, position);
-
- extractTrackInfo(tracks);
- } catch (LibVlcException e) {
- e.printStackTrace();
- }
- }
-
private void extractTrackInfo(TrackInfo[] tracks) {
if (tracks == null)
return;
More information about the Android
mailing list