Skip to content

Commit

Permalink
Default output filename based on --discard option
Browse files Browse the repository at this point in the history
  • Loading branch information
nekno committed Jan 2, 2022
1 parent 6673e09 commit 92f5921
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 92f5921

Please sign in to comment.