[Android] libvlc: rework Media creation from MediaList

Thomas Guillem git at videolan.org
Fri Jun 5 10:55:35 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jun  5 10:36:21 2015 +0200| [d00ba512f971edffac8f7dd281130738a4e13bce] | committer: Thomas Guillem

libvlc: rework Media creation from MediaList

- Don't store an internal array of medias, use directly the api call to get a
  media from a medialist.

- Lock the Medialist from the java side.

- Initialise medias of a MediaList at init.

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

 libvlc/jni/libvlcjni-media.c                  |    5 +-
 libvlc/jni/libvlcjni-medialist.c              |  130 ++++---------------------
 libvlc/src/org/videolan/libvlc/Media.java     |    4 +-
 libvlc/src/org/videolan/libvlc/MediaList.java |   58 ++++++++---
 4 files changed, 71 insertions(+), 126 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commitdiff;h=d00ba512f971edffac8f7dd281130738a4e13bce


More information about the Android mailing list