[Android] No spu and no OSD when doing the thumbnails

Jean-Baptiste Kempf git at videolan.org
Sun Apr 15 18:08:36 CEST 2012


android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Apr 15 17:51:56 2012 +0200| [89054d79701634d901ac020e2a52d5c4b0cc7c1d] | committer: Jean-Baptiste Kempf

No spu and no OSD when doing the thumbnails

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=89054d79701634d901ac020e2a52d5c4b0cc7c1d
---

 vlc-android/jni/thumbnailer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/vlc-android/jni/thumbnailer.c b/vlc-android/jni/thumbnailer.c
index 3ff388b..515d5d8 100644
--- a/vlc-android/jni/thumbnailer.c
+++ b/vlc-android/jni/thumbnailer.c
@@ -141,6 +141,8 @@ jbyteArray Java_org_videolan_vlc_LibVLC_getThumbnail(JNIEnv *env, jobject thiz,
         goto end;
     }
     libvlc_media_add_option( m, ":no-audio" );
+    libvlc_media_add_option( m, ":no-spu" );
+    libvlc_media_add_option( m, ":no-osd" );
 
     libvlc_media_player_set_media(sys->mp, m);
     libvlc_media_release(m);



More information about the Android mailing list