Patch applied. Thanks! -Yusuke
On Thu, 5 Nov 2009 09:57:51 +0000, Brian Candler <B.C...@po...> wrote:
> 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" &&
|