Skip to content

Commit

Permalink
Update Encoder.java
Browse files Browse the repository at this point in the history
updating list for tune
  • Loading branch information
rayacode authored Jan 31, 2024
1 parent c648ea5 commit 70eb717
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jave-core/src/main/java/ws/schild/jave/Encoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,9 @@ public void encode(
new ValueArgument(ArgType.OUTFILE, "-crf",
ea -> ea.getVideoAttributes().flatMap(VideoAttributes::getCrf).map(Object::toString)),
new ValueArgument(ArgType.OUTFILE, "-preset",
ea -> ea.getVideoAttributes().flatMap(VideoAttributes::getPreset))
ea -> ea.getVideoAttributes().flatMap(VideoAttributes::getPreset)),
new ValueArgument(ArgType.OUTFILE, "-tune",
ea -> ea.getVideoAttributes().flatMap(VideoAttributes::getTune).map(TuneEnum::getTuneName))
)
);

Expand Down

0 comments on commit 70eb717

Please sign in to comment.