[Android] Thumbnailer: fix typo
Sébastien Toque
git at videolan.org
Sat Nov 10 19:10:09 CET 2012
vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Sat Nov 10 18:36:10 2012 +0100| [404d99796545d2cc733acf5e282b0413e976d55e] | committer: Rafaël Carré
Thumbnailer: fix typo
Signed-off-by: Rafaël Carré <funman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=404d99796545d2cc733acf5e282b0413e976d55e
---
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 05bebba..e7fbbf6 100644
--- a/vlc-android/jni/thumbnailer.c
+++ b/vlc-android/jni/thumbnailer.c
@@ -257,7 +257,7 @@ jbyteArray Java_org_videolan_vlc_LibVLC_getThumbnail(JNIEnv *env, jobject thiz,
int loops = 100;
for (;;) {
float pos = libvlc_media_player_get_position(mp);
- if (pos < THUMBNAIL_POSITION || !loops--)
+ if (pos > THUMBNAIL_POSITION || !loops--)
break;
usleep(50000);
}
More information about the Android
mailing list