From fbcdc89dfd7f9f93e68715c32b70d9bd46da8dc6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 5 Mar 2003 13:56:45 +0000 Subject: - (getTVcards, isTVcard) : consolidate tv detection code - no need to keep capture buffer (not a big slow down but small rivers make big ones...) --- perl-install/standalone/drakxtv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/drakxtv') diff --git a/perl-install/standalone/drakxtv b/perl-install/standalone/drakxtv index 1325c7957..4c258dbf9 100755 --- a/perl-install/standalone/drakxtv +++ b/perl-install/standalone/drakxtv @@ -133,7 +133,7 @@ push @devices, { driver => 'bttv', description => 'dummy' } if $::testing && !@d if (@devices) { # TODO: That need some work for multiples TV cards foreach (@devices) { - if ($< == 0 && (grep { $_->{driver} =~ /(bttv|saa7134)/ } @devices)) { + if ($< == 0 && (grep { detect_devices::isTVcard($_) } @devices)) { require harddrake::v4l; require modules; no strict 'subs'; -- cgit v1.2.1