Commit 89fcafec by Oliver Woodman

Correctly set a format duration.

parent 820433de
...@@ -72,7 +72,7 @@ public final class Ac3Util { ...@@ -72,7 +72,7 @@ public final class Ac3Util {
channelCount++; channelCount++;
} }
return MediaFormat.createAudioFormat(MimeTypes.AUDIO_EC3, MediaFormat.NO_VALUE, return MediaFormat.createAudioFormat(MimeTypes.AUDIO_EC3, MediaFormat.NO_VALUE,
MediaFormat.NO_VALUE, channelCount, sampleRate, null); MediaFormat.NO_VALUE, durationUs, channelCount, sampleRate, null);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment