From 70eb717ec796bb01c65047e9b6373af71fe526ae Mon Sep 17 00:00:00 2001 From: Raya <100813231+rayacode@users.noreply.github.com> Date: Wed, 31 Jan 2024 22:46:29 +0330 Subject: [PATCH] Update Encoder.java updating list for tune --- jave-core/src/main/java/ws/schild/jave/Encoder.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jave-core/src/main/java/ws/schild/jave/Encoder.java b/jave-core/src/main/java/ws/schild/jave/Encoder.java index ce626ab..0aad733 100644 --- a/jave-core/src/main/java/ws/schild/jave/Encoder.java +++ b/jave-core/src/main/java/ws/schild/jave/Encoder.java @@ -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)) ) );