[Pkg-owncloud-commits] [owncloud] 09/239: Movie preview - use frame after 5 seconds

David Prévot taffit at moszumanska.debian.org
Fri Nov 29 01:32:11 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 926b274200d929af2d290d19202a5236c32c18bd
Author: Morris Jobke <morris.jobke at gmail.com>
Date:   Fri Nov 15 01:46:51 2013 +0100

    Movie preview - use frame after 5 seconds
---
 lib/private/preview/movies.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/private/preview/movies.php b/lib/private/preview/movies.php
index 28f130f..276209a 100644
--- a/lib/private/preview/movies.php
+++ b/lib/private/preview/movies.php
@@ -50,13 +50,13 @@ if (!\OC_Util::runningOnWindows()) {
 				file_put_contents($absPath, $firstmb);
 
 				if (self::$avconvBinary) {
-					$cmd = self::$avconvBinary . ' -an -y -ss 1'.
+					$cmd = self::$avconvBinary . ' -an -y -ss 5'.
 						' -i ' . escapeshellarg($absPath) .
 						' -f mjpeg -vframes 1 ' . escapeshellarg($tmpPath) .
 						' > /dev/null 2>&1';
 				}
 				else {
-					$cmd = self::$ffmpegBinary . ' -y -ss 1' .
+					$cmd = self::$ffmpegBinary . ' -y -ss 5' .
 						' -i ' . escapeshellarg($absPath) .
 						' -f mjpeg -vframes 1' .
 						' -s ' . escapeshellarg($maxX) . 'x' . escapeshellarg($maxY) .

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list