Commit 404d9979 authored by Sébastien Toque's avatar Sébastien Toque Committed by Rafaël Carré
Browse files

Thumbnailer: fix typo


Signed-off-by: Rafaël Carré's avatarRafaël Carré <funman@videolan.org>
parent aa7c5419
...@@ -257,7 +257,7 @@ jbyteArray Java_org_videolan_vlc_LibVLC_getThumbnail(JNIEnv *env, jobject thiz, ...@@ -257,7 +257,7 @@ jbyteArray Java_org_videolan_vlc_LibVLC_getThumbnail(JNIEnv *env, jobject thiz,
int loops = 100; int loops = 100;
for (;;) { for (;;) {
float pos = libvlc_media_player_get_position(mp); float pos = libvlc_media_player_get_position(mp);
if (pos < THUMBNAIL_POSITION || !loops--) if (pos > THUMBNAIL_POSITION || !loops--)
break; break;
usleep(50000); usleep(50000);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment