Files
@ 3a1c3b8c67fb
Branch filter:
Location: ohnobinki_overlay/media-video/mjpegtools/files/mjpegtools-1.8.0-fix-lav2mpeg.patch - annotation
3a1c3b8c67fb
1.1 KiB
text/x-diff
sys-devel/gcc-config: Apply patch to remove support for CFLAGS_${ABI}, fixing bug 351384.
(Portage version: 2.2.0_alpha11-r1/hg/Linux x86_64, signed Manifest commit with key 6BA81050)
(Portage version: 2.2.0_alpha11-r1/hg/Linux x86_64, signed Manifest commit with key 6BA81050)
5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 5580ff223af8 | diff -ru mjpegtools-1.8.0-orig/scripts/lav2mpeg mjpegtools-1.8.0-fixed-lav2mpeg/scripts/lav2mpeg
--- mjpegtools-1.8.0-orig/scripts/lav2mpeg 2006-11-19 17:11:41.000000000 +0100
+++ mjpegtools-1.8.0-fixed-lav2mpeg/scripts/lav2mpeg 2006-11-19 18:28:32.000000000 +0100
@@ -253,7 +253,7 @@
esac
done
let MOPTIND=OPTIND-LAVRC_COUNT
-shift `expr $MOPTIND-1`
+shift $((MOPTIND-1))
if [ "${QUIETLOG}" != "" ]; then
logfile=${QUIETLOG}
@@ -267,7 +267,8 @@
# lavinfo should set up video_frames, video_width
# video_height, video_inter, video_norm, audio_chans
-eval $($LAVINFO $@ | grep "=") # grep for = to remove Warnings
+# Add backslashes to protect contained spaces
+eval $($LAVINFO $@ | grep "=" | sed -e 's: :\\ :g') # grep for = to remove Warnings
if [ "$video_frames" == "" ]; then
logIt "'lavinfo $@' died! exiting"
logIt " maybe you don't have lavinfo. or your input flags were wrong"
@@ -401,7 +402,7 @@
fi
fi
-if [ $video_inter -eq 1 ]; then
+if [[ ${video_inter/interlacing/} != ${video_inter} ]]; then
yuvdenoise_flags="$yuvdenoise_flags -F"
fi
|