[Android] thumbnail: add comment
Rafaël Carré
git at videolan.org
Tue Oct 30 13:49:29 CET 2012
vlc-ports/android | branch: master | Rafaël Carré <funman at videolan.org> | Tue Oct 30 13:49:09 2012 +0100| [9d6b5038362a2b4a0fbf34a2bb445fe3190f62d6] | committer: Rafaël Carré
thumbnail: add comment
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=9d6b5038362a2b4a0fbf34a2bb445fe3190f62d6
---
vlc-android/jni/thumbnailer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/jni/thumbnailer.c b/vlc-android/jni/thumbnailer.c
index bc0a86c..817ac5c 100644
--- a/vlc-android/jni/thumbnailer.c
+++ b/vlc-android/jni/thumbnailer.c
@@ -103,6 +103,7 @@ static void thumbnailer_unlock(void *opaque, void *picture, void *const *pixels)
if (hasThumb)
return;
+ /* Wait a few frames, to be sure they come after the seek succeeded */
if (++sys->nbReceivedFrames < 6)
return;
More information about the Android
mailing list