aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-11-22 12:20:06 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2013-11-22 12:20:06 +0100
commitc22019dec5629967a092c1a64159469ad8fef5d4 (patch)
tree8832991059d30832f8d928b0934547ab17c34329
parent926b274200d929af2d290d19202a5236c32c18bd (diff)
downloadnextcloud-server-c22019dec5629967a092c1a64159469ad8fef5d4.tar.gz
nextcloud-server-c22019dec5629967a092c1a64159469ad8fef5d4.zip
Working on a chunked video can result in a broken frame index the option -vsync 1 can heal that
-rw-r--r--lib/private/preview/movies.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview/movies.php b/lib/private/preview/movies.php
index 276209a876a..3cbbaa9d3be 100644
--- a/lib/private/preview/movies.php
+++ b/lib/private/preview/movies.php
@@ -52,7 +52,7 @@ if (!\OC_Util::runningOnWindows()) {
if (self::$avconvBinary) {
$cmd = self::$avconvBinary . ' -an -y -ss 5'.
' -i ' . escapeshellarg($absPath) .
- ' -f mjpeg -vframes 1 ' . escapeshellarg($tmpPath) .
+ ' -f mjpeg -vframes 1 -vsync 1 ' . escapeshellarg($tmpPath) .
' > /dev/null 2>&1';
}
else {