From 298848a2f11bdd55b2748ba864d37370c2a5a6d9 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Thu, 5 Jul 2018 17:05:12 +0200 Subject: [PATCH] fix: Remux mode should fall back to best format if bestvideo+bestaudio is not available --- controllers/FrontController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/FrontController.php b/controllers/FrontController.php index 68f16ce..36f4fa9 100644 --- a/controllers/FrontController.php +++ b/controllers/FrontController.php @@ -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'; }