From c5ac813c19609c0d4eeb3bc75fc607239789dc96 Mon Sep 17 00:00:00 2001 From: Ed Johnson Date: Wed, 31 Oct 2018 12:30:40 -0700 Subject: [PATCH] fix audio output validation to validate on the output format, not the input format --- .../ypresto/androidtranscoder/engine/AudioTrackTranscoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/main/java/net/ypresto/androidtranscoder/engine/AudioTrackTranscoder.java b/lib/src/main/java/net/ypresto/androidtranscoder/engine/AudioTrackTranscoder.java index 47e0a61d..99034ef0 100644 --- a/lib/src/main/java/net/ypresto/androidtranscoder/engine/AudioTrackTranscoder.java +++ b/lib/src/main/java/net/ypresto/androidtranscoder/engine/AudioTrackTranscoder.java @@ -79,7 +79,7 @@ public void setup() { @Override public MediaFormat getDeterminedFormat() { - return mInputFormat; + return mActualOutputFormat; } @Override