[Android] [PATCH] jni: do not prevent thumbnailing of large videos (e.g. 4K).
Felix Abecassis
felix.abecassis at gmail.com
Wed Nov 20 14:37:37 CET 2013
---
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 2d41a59..133a274 100644
--- a/vlc-android/jni/thumbnailer.c
+++ b/vlc-android/jni/thumbnailer.c
@@ -206,7 +206,7 @@ jbyteArray Java_org_videolan_libvlc_LibVLC_getThumbnail(JNIEnv *env, jobject thi
goto end;
}
- if( videoWidth < 32 || videoHeight < 32 || videoWidth > 2048 || videoWidth > 2048 )
+ if( videoWidth < 32 || videoHeight < 32 )
{
LOGE("Wrong video dimensions.\n");
goto end;
--
1.8.3.2
More information about the Android
mailing list