| line |
true |
false |
branch |
|
26
|
0 |
0 |
if ($^O =~ /MSWin/i and $self->player eq 'VLC') { } |
|
34
|
0 |
0 |
if (my $vlc_binary = FlashVideo::Utils::get_vlc_exe_from_registry()) |
|
54
|
0 |
0 |
unless Win32::Process::Create($process, $vlc_binary, "$binary_no_path $file", 1, 32, $binary_just_path) |
|
67
|
0 |
0 |
unless defined $pid |
|
68
|
0 |
0 |
if (not $pid) |
|
86
|
0 |
0 |
-e $file ? : |
|
88
|
0 |
0 |
if ($file ne '-' and -e $file) |
|
95
|
0 |
0 |
if ($offset == $response->header('Content-Length')) |
|
97
|
0 |
0 |
if defined $$self{'stream'} |
|
102
|
0 |
0 |
if (not $response->header('Accept-Ranges')) { } |
|
103
|
0 |
0 |
unless ($self->yes) |
|
107
|
0 |
0 |
if (not $answer or lc $answer eq 'n') |
|
119
|
0 |
0 |
if ($file eq '-') { } |
|
122
|
0 |
0 |
unless open $video_fh, $mode, $file |
|
129
|
0 |
0 |
if ($offset) |
|
139
|
0 |
0 |
unless ($$self{'content_length'}) |
|
143
|
0 |
0 |
if ($response->header('Content-encoding') =~ /gzip/i) |
|
144
|
0 |
0 |
unless (eval {
do {
require Compress::Zlib
}
}) |
|
151
|
0 |
0 |
if $status |
|
156
|
0 |
0 |
unless ($$self{'downloaded'}) |
|
166
|
0 |
0 |
if ($offset and not $response->header('Content-Range')) { } |
|
171
|
0 |
0 |
unless $$self{'downloaded'} |
|
176
|
0 |
0 |
if ($$self{'filter'}) |
|
180
|
0 |
0 |
unless $data |
|
185
|
0 |
0 |
if (defined $$self{'stream'}) |
|
186
|
0 |
0 |
if ($$self{'downloaded'} > 300000) |
|
191
|
0 |
0 |
if (not $$self{'downloaded'} and length $data > 16) |
|
192
|
0 |
0 |
unless ($self->check_magic($data)) |
|
202
|
0 |
0 |
if ($browser->response->header('X-Died')) |
|
206
|
0 |
0 |
unless close $$self{'fh'} |
|
208
|
0 |
0 |
if ($browser->success) { } |
|
211
|
0 |
0 |
unless -s $file |
|
220
|
0 |
0 |
unless -t STDERR |
|
221
|
0 |
0 |
if $self->quiet |
|
225
|
0 |
0 |
if ($$self{'content_length'}) { } |
|
229
|
0 |
0 |
if ($percent != $$self{'percent'} or time != $$self{'last_time'}) |
|
239
|
0 |
0 |
if ($data_transferred != $$self{'data_transferred'}) |
|
244
|
0 |
0 |
if ($progress_text) |
|
250
|
0 |
0 |
if ($filename_len < length $filename) |
|
255
|
0 |
0 |
if $pos < 0 |
|
269
|
0 |
0 |
unless $string =~ /%s/ |
|
302
|
0 |
0 |
if (substr($data, 0, 3) eq 'FLV') { } |
|
|
0 |
0 |
elsif (substr($data, 0, 3) eq 'ID3') { } |
|
|
0 |
0 |
elsif (substr($data, 0, 4) eq "0&\262u") { } |
|
|
0 |
0 |
elsif (substr($data, 4, 4) eq 'ftyp') { } |
|
|
0 |
0 |
elsif (substr($data, 4, 4) =~ /moov|mdat|wide|free|pnot|skip/) { } |
|
|
0 |
0 |
elsif (substr($data, 0, 4) eq 'RIFF') { } |
|
328
|
0 |
0 |
if ($^O =~ /MSWin/i) |