refactor: We don't need this check anymore
This commit is contained in:
parent
61cb73dc59
commit
3ca84e144e
1 changed files with 4 additions and 5 deletions
|
@ -370,11 +370,10 @@ class Video
|
||||||
'pipe:1',
|
'pipe:1',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
if ($this->url != '-') {
|
|
||||||
//Vimeo needs a correct user-agent
|
//Vimeo needs a correct user-agent
|
||||||
$arguments[] = '-user_agent';
|
$arguments[] = '-user_agent';
|
||||||
$arguments[] = $this->getProp('dump-user-agent');
|
$arguments[] = $this->getProp('dump-user-agent');
|
||||||
}
|
|
||||||
|
|
||||||
return new Process($arguments);
|
return new Process($arguments);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue