mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Correctly set a format duration.
This commit is contained in:
parent
820433de06
commit
89fcafec5b
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ public final class Ac3Util {
|
|||
channelCount++;
|
||||
}
|
||||
return MediaFormat.createAudioFormat(MimeTypes.AUDIO_EC3, MediaFormat.NO_VALUE,
|
||||
MediaFormat.NO_VALUE, channelCount, sampleRate, null);
|
||||
MediaFormat.NO_VALUE, durationUs, channelCount, sampleRate, null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue