changeset 32818:70765e0cd33b

Limit FFmpeg git clone to the last revision to save time and bandwidth. Since the main purpose of the FFmpeg clone embedded in MPlayer is getting MPlayer compiled and not FFmpeg development, this is the better solution. Patch by Gus Wirth, gwirth79 gmail com, closes Bugzilla #1877.
author diego
date Wed, 16 Feb 2011 12:25:39 +0000
parents a104f879bfbc
children af497af8b66c
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Feb 16 12:00:29 2011 +0000
+++ b/configure	Wed Feb 16 12:25:39 2011 +0000
@@ -50,7 +50,7 @@
 if ! test -e ffmpeg ; then
   echo "No FFmpeg checkout, press enter to download one with git or CTRL+C to abort"
   read tmp
-  if ! git clone git://git.videolan.org/ffmpeg.git ffmpeg ; then
+  if ! git --depth 1 clone git://git.videolan.org/ffmpeg.git ffmpeg ; then
     rm -rf ffmpeg
     echo "Failed to get a FFmpeg checkout"
     exit 1