projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://packetstormsecurity.org/UNIX/admin/xscreensaver-3.34.tar.gz
[xscreensaver]
/
driver
/
xscreensaver-getimage-video
diff --git
a/driver/xscreensaver-getimage-video
b/driver/xscreensaver-getimage-video
index d79bc47c8bd6b7d477f73c74756452d8d758ef74..7bcd9ff2c90b4aa5933fb494204269d8a6d65812 100755
(executable)
--- a/
driver/xscreensaver-getimage-video
+++ b/
driver/xscreensaver-getimage-video
@@
-29,7
+29,7
@@
use diagnostics;
use strict;
my $progname = $0; $progname =~ s@.*/@@g;
use strict;
my $progname = $0; $progname =~ s@.*/@@g;
-my $version = q{ $Revision: 1.
4
$ }; $version =~ s/^[^0-9]+([0-9.]+).*$/$1/;
+my $version = q{ $Revision: 1.
5
$ }; $version =~ s/^[^0-9]+([0-9.]+).*$/$1/;
my $verbose = 0;
my $verbose = 0;
@@
-44,7
+44,7
@@
my $verbose = 0;
my $tmpdir = $ENV{TMPDIR};
$tmpdir = "/tmp" unless $tmpdir;
my $tmpdir = $ENV{TMPDIR};
$tmpdir = "/tmp" unless $tmpdir;
-my $tmpfile = "$tmpdir/xssgv.$$";
+my $tmpfile = "$tmpdir/xssgv.$$
.ppm
";
# this crap is because "vidtomem" can only write to a file, and uses
# a stupid, non-overridable file name format.
# this crap is because "vidtomem" can only write to a file, and uses
# a stupid, non-overridable file name format.
@@
-54,7
+54,7
@@
my @programs = (
"bttvgrab -d q -Q -l 1 -o jpg -f $tmpfile", # BTTV
"qcam > $tmpfile", # Connectix Qcam
"bttvgrab -d q -Q -l 1 -o jpg -f $tmpfile", # BTTV
"qcam > $tmpfile", # Connectix Qcam
- "streamer -
o $tmpfile",
# XawTV
+ "streamer -
s 768x576 -o $tmpfile",
# XawTV
"atitv snap $tmpfile", # ATI video capture card
"vidtomem -f $tmpfile 2>- && mv $sgi_bogosity $tmpfile", # Silicon Graphics
"atitv snap $tmpfile", # ATI video capture card
"vidtomem -f $tmpfile 2>- && mv $sgi_bogosity $tmpfile", # Silicon Graphics