[Android] libvlc: Media: don't set options at init

Thomas Guillem git at videolan.org
Wed May 27 17:43:44 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed May 27 17:40:06 2015 +0200| [ddd5e0c510e22e2935beb00d0ecc27a234906095] | committer: Thomas Guillem

libvlc: Media: don't set options at init

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

 libvlc/jni/libvlcjni-media.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libvlc/jni/libvlcjni-media.c b/libvlc/jni/libvlcjni-media.c
index c59ae2c..62306e0 100644
--- a/libvlc/jni/libvlcjni-media.c
+++ b/libvlc/jni/libvlcjni-media.c
@@ -149,9 +149,6 @@ Media_nativeNewCommon(JNIEnv *env, jobject thiz, vlcjni_object *p_obj)
     pthread_mutex_init(&p_obj->p_sys->lock, NULL);
     pthread_cond_init(&p_obj->p_sys->wait, NULL);
 
-    libvlc_media_add_option(p_obj->u.p_m, ":file-caching=1500");
-    libvlc_media_add_option(p_obj->u.p_m, ":network-caching=1500");
-    libvlc_media_add_option(p_obj->u.p_m, ":no-video");
     VLCJniObject_attachEvents(p_obj, Media_event_cb,
                               libvlc_media_event_manager(p_obj->u.p_m),
                               m_events);



More information about the Android mailing list