Skip to content

Commit

Permalink
Merge pull request #98 from nekno/converter-default-output
Browse files Browse the repository at this point in the history
Change `convert` output file name depending on whether or not the EL is discarded.
Closes #97.
  • Loading branch information
quietvoid authored Jan 2, 2022
2 parents 6673e09 + 92f5921 commit 1450443
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dovi/converter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ impl Converter {

let output = match output {
Some(path) => path,
None => PathBuf::from("BL_EL.hevc"),
None => match options.discard_el {
true => PathBuf::from("BL_RPU.hevc"),
false => PathBuf::from("BL_EL_RPU.hevc"),
},
};

let demuxer = Converter::new(format, input, output);
Expand Down

0 comments on commit 1450443

Please sign in to comment.