mirror of
https://github.com/samsonjs/media.git
synced 2026-03-29 10:05:48 +00:00
Merge pull request #2327 from pipelka/audio-seek-fix
reconfigure audiotrack on format change
This commit is contained in:
commit
5742c87755
1 changed files with 1 additions and 0 deletions
|
|
@ -552,6 +552,7 @@ public abstract class SimpleDecoderAudioRenderer extends BaseRenderer implements
|
|||
// There aren't any final output buffers, so release the decoder immediately.
|
||||
releaseDecoder();
|
||||
maybeInitDecoder();
|
||||
audioTrackNeedsConfigure = true;
|
||||
}
|
||||
|
||||
eventDispatcher.inputFormatChanged(newFormat);
|
||||
|
|
|
|||
Loading…
Reference in a new issue