diff --git a/benchmarks/parse.pl b/benchmarks/parse.pl index e8ae0f2..1fd9eb3 100755 --- a/benchmarks/parse.pl +++ b/benchmarks/parse.pl @@ -234,6 +234,10 @@ GetOptions( "help" => \(my $help = 0) ) or die "failed to parse command line!\n"; +if (!$lib and $path =~ m/.*(uvgrtp|ffmpeg|gstreamer).*/i) { + $lib = $1; +} + if ($help or !$lib or !$iter) { print "usage (one file):\n ./parse.pl \n" . "\t--lib \n"