mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Manually burn-in subtitles only if no pre-burned video is available (#268)
This commit is contained in:
parent
14e71c05b8
commit
2c37093959
5 changed files with 88 additions and 14 deletions
|
|
@ -248,7 +248,8 @@ async fn get_format(
|
|||
|
||||
for single_format in single_formats {
|
||||
let stream = single_format.stream().await?;
|
||||
let Some((video, audio)) = variant_data_from_stream(&stream, &archive.resolution).await?
|
||||
let Some((video, audio, _)) =
|
||||
variant_data_from_stream(&stream, &archive.resolution, None).await?
|
||||
else {
|
||||
if single_format.is_episode() {
|
||||
bail!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue