Fix "FLAC decoder input buffer too small" issue
Issue: #3514 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=190752950
This commit is contained in:
parent
11dbe6d04b
commit
0989f272f2
@ -45,6 +45,7 @@
|
||||
* DRM:
|
||||
* Allow multiple listeners for `DefaultDrmSessionManager`.
|
||||
* Pass `DrmSessionManager` to `ExoPlayerFactory` instead of `RendererFactory`.
|
||||
* Fix "Decoder input buffer too small" error when playing some FLAC streams.
|
||||
* Fix handling of zero padded strings when parsing Matroska streams
|
||||
([#4010](https://github.com/google/ExoPlayer/issues/4010)).
|
||||
* Fix ANR issue on Redmi 4X and Redmi Note 4
|
||||
|
@ -9,7 +9,7 @@ track 0:
|
||||
id = null
|
||||
containerMimeType = null
|
||||
sampleMimeType = audio/raw
|
||||
maxInputSize = -1
|
||||
maxInputSize = 16384
|
||||
width = -1
|
||||
height = -1
|
||||
frameRate = -1.0
|
||||
|
@ -9,7 +9,7 @@ track 0:
|
||||
id = null
|
||||
containerMimeType = null
|
||||
sampleMimeType = audio/raw
|
||||
maxInputSize = -1
|
||||
maxInputSize = 16384
|
||||
width = -1
|
||||
height = -1
|
||||
frameRate = -1.0
|
||||
|
@ -9,7 +9,7 @@ track 0:
|
||||
id = null
|
||||
containerMimeType = null
|
||||
sampleMimeType = audio/raw
|
||||
maxInputSize = -1
|
||||
maxInputSize = 16384
|
||||
width = -1
|
||||
height = -1
|
||||
frameRate = -1.0
|
||||
|
@ -9,7 +9,7 @@ track 0:
|
||||
id = null
|
||||
containerMimeType = null
|
||||
sampleMimeType = audio/raw
|
||||
maxInputSize = -1
|
||||
maxInputSize = 16384
|
||||
width = -1
|
||||
height = -1
|
||||
frameRate = -1.0
|
||||
|
@ -116,7 +116,7 @@ public final class FlacExtractor implements Extractor {
|
||||
MimeTypes.AUDIO_RAW,
|
||||
null,
|
||||
streamInfo.bitRate(),
|
||||
Format.NO_VALUE,
|
||||
streamInfo.maxDecodedFrameSize(),
|
||||
streamInfo.channels,
|
||||
streamInfo.sampleRate,
|
||||
getPcmEncoding(streamInfo.bitsPerSample),
|
||||
|
Loading…
x
Reference in New Issue
Block a user