[Vnc2swf-users] Minor fix to recordwin.sh
Status: Alpha
Brought to you by:
euske
|
From: Brian C. <B.C...@po...> - 2009-11-05 09:58:29
|
recordwin.sh sets up an FLVREC variable, but then doesn't use it. So I
suggest the following trivial patch to allow users to do things like
FLVREC="flvrec.py -r 4" recordwin.sh out.flv
--- vnc2flv-20091103/tools/recordwin.sh.orig 2009-08-31 12:42:17.000000000 +0100
+++ vnc2flv-20091103/tools/recordwin.sh 2009-11-05 09:55:15.000000000 +0000
@@ -71,7 +71,7 @@
trap ":" INT
# XXX err if the port 5900 is already occupied.
$X11VNC -quiet -bg -nopw -display "$display" -viewonly -localhost -once &&
- flvrec.py -S "$ARECORD $wavfile" -o "$flvfile" $flvrecopts &&
+ $FLVREC -S "$ARECORD $wavfile" -o "$flvfile" $flvrecopts &&
[ -f "$flvfile" -a -f "$wavfile" ] &&
$LAME "$wavfile" "$mp3file" &&
$FLVADDMP3 -f "$flvfile" "$mp3file" "$outfile" &&
|