[Android] Thumbnailer: reduce the number of frames needed

Jean-Baptiste Kempf git at videolan.org
Tue Oct 16 15:46:43 CEST 2012


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Oct 16 15:46:14 2012 +0200| [419b6af338194a906e9c1cf56b6d397c54b2e799] | committer: Jean-Baptiste Kempf

Thumbnailer: reduce the number of frames needed

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

 vlc-android/jni/thumbnailer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/jni/thumbnailer.c b/vlc-android/jni/thumbnailer.c
index bc092b7..bc0a86c 100644
--- a/vlc-android/jni/thumbnailer.c
+++ b/vlc-android/jni/thumbnailer.c
@@ -103,7 +103,7 @@ static void thumbnailer_unlock(void *opaque, void *picture, void *const *pixels)
     if (hasThumb)
         return;
 
-    if (++sys->nbReceivedFrames < 10)
+    if (++sys->nbReceivedFrames < 6)
         return;
 
     /* Else we have received our first thumbnail and we can exit. */



More information about the Android mailing list