--swfVfy failing

David Woodhouse dwmw2 at infradead.org
Thu May 27 06:36:07 EDT 2010


On Thu, 2010-05-27 at 11:23 +0100, Steve Anderson wrote:
> Heading backwards, "rtmpdump --swfVfy" returns what would be expected:
> 
> RTMPDump v2.2d
> (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
> rtmpdump\rtmpdump: option `--swfVfy' requires an argument 

That's not what I'm checking for. Look carefully at the quotes.

This should fix it?

diff --git a/get_iplayer b/get_iplayer
index 8bab315..8c04503 100755
--- a/get_iplayer
+++ b/get_iplayer
@@ -7821,7 +7821,7 @@ sub get {
 
 	# flvstreamer version detection e.g. 'FLVStreamer v1.8a'
 	my $rtmpver = `"$bin->{flvstreamer}" --swfVfy 2>&1`;
-	if ( $rtmpver =~ /option '--swfVfy' requires an argument/ ) {
+	if ( $rtmpver =~ /option .--swfVfy. requires an argument/ ) {
 		$swfarg = "--swfVfy";
 	} else {
 		main::logger "WARNING: Your version of flvstreamer/rtmpdump does not support SWF Verification\n";


-- 
dwmw2




More information about the get_iplayer mailing list