diff options
Diffstat (limited to 'multimedia/mjpegtools/patches/patch-ad')
-rw-r--r-- | multimedia/mjpegtools/patches/patch-ad | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/multimedia/mjpegtools/patches/patch-ad b/multimedia/mjpegtools/patches/patch-ad new file mode 100644 index 00000000000..eefeb84656d --- /dev/null +++ b/multimedia/mjpegtools/patches/patch-ad @@ -0,0 +1,42 @@ +--- 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 |