updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / iencode-svn / iencode.patch
blobd43870997920cb3d4d6de7f1cb893ae922f78178
1 --- ../iencode-build/iencode 2009-08-13 02:31:11.000000000 +0200
2 +++ iencode 2009-08-13 02:32:35.000000000 +0200
3 @@ -30,8 +30,6 @@
4 # 2 : A mandatory tool is not installed (mplayer, mp4box, ...)
5 # 10 : Operation canceled
7 -PATH=$PATH:/usr/local/bin
9 # Trap cancel requests
10 trap cancel INT KILL
12 @@ -79,7 +77,7 @@
13 exit 1
16 -if ! ( which mencoder && which mp4box ) > /dev/null 2>&1
17 +if ! ( which mencoder && which MP4Box ) > /dev/null 2>&1
18 then
19 tools
20 exit 2
21 @@ -298,7 +296,7 @@
22 # Create MP4 file by muxing audio and video
24 echo -n `date +%H:%M:%S` "Muxing... "
25 - mp4box -fps "$ID_VIDEO_FPS" -add "$OUTPUTFILE.264-encodetemp#video" -add "$OUTPUTFILE.aac-encodetemp#audio" -new "$OUTPUTFILE" #> /dev/null 2>&1
26 + MP4Box -fps "$ID_VIDEO_FPS" -add "$OUTPUTFILE.264-encodetemp#video" -add "$OUTPUTFILE.aac-encodetemp#audio" -new "$OUTPUTFILE" #> /dev/null 2>&1
27 RESM=$?
29 if [ $RESM == 0 ]