fix: Remux mode should fall back to best format if bestvideo+bestaudio is not available

This commit is contained in:
Pierre Rudloff 2018-07-05 17:05:12 +02:00
parent 44bed5335a
commit 298848a2f1

View file

@ -98,7 +98,7 @@ class FrontController
$session = $session_factory->newInstance($cookies);
$this->sessionSegment = $session->getSegment(self::class);
if ($this->config->remux) {
$this->defaultFormat = 'bestvideo+bestaudio';
$this->defaultFormat = 'bestvideo+bestaudio,best';
} elseif ($this->config->stream) {
$this->defaultFormat = 'best';
}