42 lines
1.2 KiB
Text
42 lines
1.2 KiB
Text
--- scripts/lav2mpeg.orig 2004-08-07 03:51:14.000000000 +0100
|
|
+++ scripts/lav2mpeg 2006-10-13 13:23:51.000000000 +0100
|
|
@@ -106,10 +106,10 @@
|
|
}
|
|
|
|
doStep() {
|
|
- if [ "$LOGCOMMANDS" == "0" ]; then
|
|
+ if [ "$LOGCOMMANDS" = "0" ]; then
|
|
echo "COMMAND=${step[$count]}"
|
|
fi
|
|
- if [ "$LOGONLY" == "" ]; then
|
|
+ if [ "$LOGONLY" = "" ]; then
|
|
eval ${step[$count]}
|
|
fi
|
|
}
|
|
@@ -174,7 +174,7 @@
|
|
logIt "downscale=$downscaling"
|
|
}
|
|
|
|
-if [ $# -eq 0 -o "$1" == "--help" -o "$1" = "-h" ]; then
|
|
+if [ $# -eq 0 -o "$1" = "--help" -o "$1" = "-h" ]; then
|
|
usage;
|
|
exit 1
|
|
fi
|
|
@@ -268,7 +268,7 @@
|
|
# lavinfo should set up video_frames, video_width
|
|
# video_height, video_inter, video_norm, audio_chans
|
|
eval $($LAVINFO $@ | grep "=") # grep for = to remove Warnings
|
|
-if [ "$video_frames" == "" ]; then
|
|
+if [ "$video_frames" = "" ]; then
|
|
logIt "'lavinfo $@' died! exiting"
|
|
logIt " maybe you don't have lavinfo. or your input flags were wrong"
|
|
logIt " input files must be the last input on the command line"
|
|
@@ -348,7 +348,7 @@
|
|
fi
|
|
|
|
# set up the audio
|
|
-if [ "$userstereo" == "" ]; then
|
|
+if [ "$userstereo" = "" ]; then
|
|
stereo=${audio_chans:-0}
|
|
else
|
|
stereo=$userstereo
|