Skip to content

Commit c5ac813

Browse files
edwardotisypresto
authored andcommitted
fix audio output validation to validate on the output format, not the input format
1 parent 012c3ab commit c5ac813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/main/java/net/ypresto/androidtranscoder/engine/AudioTrackTranscoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void setup() {
7979

8080
@Override
8181
public MediaFormat getDeterminedFormat() {
82-
return mInputFormat;
82+
return mActualOutputFormat;
8383
}
8484

8585
@Override

0 commit comments

Comments
 (0)