[Android] Benchmark: raise screenshot display delay

Duncan McNamara git at videolan.org
Wed Sep 25 16:28:56 CEST 2019


vlc-android | branch: 3.2.x | Duncan McNamara <dcn.mcnamara at gmail.com> | Thu Aug 22 14:39:01 2019 +0200| [339cd0e0d1354a509729e3932825dba22f2fbfc7] | committer: Geoffrey Métais

Benchmark: raise screenshot display delay

Waiting for improvements in vlc 4.0, this is a temporary fix to leave
enough time for vlc to get the image after seek. This will not work all
the time but overall improves screenshot accuracy.

(cherry picked from commit 72dfb78029011684d0ec84a804a13e8500c4410f)

> https://code.videolan.org/videolan/vlc-android/commit/339cd0e0d1354a509729e3932825dba22f2fbfc7
---

 vlc-android/src/org/videolan/vlc/gui/video/benchmark/BenchActivity.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/benchmark/BenchActivity.kt b/vlc-android/src/org/videolan/vlc/gui/video/benchmark/BenchActivity.kt
index 3f40a6acd..4e057cbd9 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/benchmark/BenchActivity.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/video/benchmark/BenchActivity.kt
@@ -562,7 +562,7 @@ class BenchActivity : ShallowVideoPlayer() {
                 } else {
                     finish()
                 }
-            }, 1000)
+            }, 3000)
         }
     }
 



More information about the Android mailing list