diff options
-rw-r--r-- | tools/init.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/init.php b/tools/init.php index 65de424..fb8e6bf 100644 --- a/tools/init.php +++ b/tools/init.php @@ -46,7 +46,7 @@ function parseStream($stream){ $type = "WEBM"; break; } - + $libretype = explode(";", $format_info['type']); $libretype= $libretype[0]; switch ($libretype) { @@ -54,7 +54,7 @@ function parseStream($stream){ $libretype = "video/webm"; break; } - + $available_formats[] = [ 'itag' => $format_info['itag'], 'quality' => $quality, @@ -65,7 +65,7 @@ function parseStream($stream){ ]; } - + return $available_formats; } |