Magellan Linux

Annotation of /trunk/mjpegtools/patches/mjpegtools-1.8.0-fix-lav2mpeg.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 224 - (hide annotations) (download)
Sat Jun 23 13:53:28 2007 UTC (16 years, 11 months ago) by niro
File size: 1092 byte(s)
-new fixes

1 niro 224 diff -ru mjpegtools-1.8.0-orig/scripts/lav2mpeg mjpegtools-1.8.0-fixed-lav2mpeg/scripts/lav2mpeg
2     --- mjpegtools-1.8.0-orig/scripts/lav2mpeg 2006-11-19 17:11:41.000000000 +0100
3     +++ mjpegtools-1.8.0-fixed-lav2mpeg/scripts/lav2mpeg 2006-11-19 18:28:32.000000000 +0100
4     @@ -253,7 +253,7 @@
5     esac
6     done
7     let MOPTIND=OPTIND-LAVRC_COUNT
8     -shift `expr $MOPTIND-1`
9     +shift $((MOPTIND-1))
10    
11     if [ "${QUIETLOG}" != "" ]; then
12     logfile=${QUIETLOG}
13     @@ -267,7 +267,8 @@
14    
15     # lavinfo should set up video_frames, video_width
16     # video_height, video_inter, video_norm, audio_chans
17     -eval $($LAVINFO $@ | grep "=") # grep for = to remove Warnings
18     +# Add backslashes to protect contained spaces
19     +eval $($LAVINFO $@ | grep "=" | sed -e 's: :\\ :g') # grep for = to remove Warnings
20     if [ "$video_frames" == "" ]; then
21     logIt "'lavinfo $@' died! exiting"
22     logIt " maybe you don't have lavinfo. or your input flags were wrong"
23     @@ -401,7 +402,7 @@
24     fi
25     fi
26    
27     -if [ $video_inter -eq 1 ]; then
28     +if [[ ${video_inter/interlacing/} != ${video_inter} ]]; then
29     yuvdenoise_flags="$yuvdenoise_flags -F"
30     fi
31