mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Add .mov to known soft-sub containers
This commit is contained in:
parent
7b1ed30b20
commit
94fcf1590a
1 changed files with 2 additions and 2 deletions
|
|
@ -256,7 +256,7 @@ impl Downloader {
|
||||||
// this formats are supporting embedding subtitles into the video container instead of
|
// this formats are supporting embedding subtitles into the video container instead of
|
||||||
// burning it into the video stream directly
|
// burning it into the video stream directly
|
||||||
let container_supports_softsubs =
|
let container_supports_softsubs =
|
||||||
["mkv", "mp4"].contains(&dst.extension().unwrap_or_default().to_str().unwrap());
|
["mkv", "mov", "mp4"].contains(&dst.extension().unwrap_or_default().to_str().unwrap());
|
||||||
|
|
||||||
if container_supports_softsubs {
|
if container_supports_softsubs {
|
||||||
for (i, meta) in subtitles.iter().enumerate() {
|
for (i, meta) in subtitles.iter().enumerate() {
|
||||||
|
|
@ -292,7 +292,7 @@ impl Downloader {
|
||||||
{
|
{
|
||||||
match dst.extension().unwrap_or_default().to_str().unwrap() {
|
match dst.extension().unwrap_or_default().to_str().unwrap() {
|
||||||
"mkv" => (),
|
"mkv" => (),
|
||||||
"mp4" => output_presets.extend([
|
"mov" | "mp4" => output_presets.extend([
|
||||||
"-movflags".to_string(),
|
"-movflags".to_string(),
|
||||||
"faststart".to_string(),
|
"faststart".to_string(),
|
||||||
"-c:s".to_string(),
|
"-c:s".to_string(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue