mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-03 06:26:16 +00:00
Add bitstream restrictions to MediaTek devices and update decoder-errata.txt
This commit is contained in:
@@ -10,4 +10,10 @@ This file serves to document some of the decoder errata when using MediaCodec ha
|
||||
- Affected decoders: TI OMAP4
|
||||
|
||||
4. Some decoders require num_ref_frames=1 and max_dec_frame_buffering=1 to avoid crashing on SPS or first I-frame
|
||||
- Affected decoders: Qualcomm in GS3 on 4.3+, Exynos 4
|
||||
- Affected decoders: Qualcomm in GS3 on 4.3+, Exynos 4
|
||||
|
||||
5. Some decoders will hang if max_dec_frame_buffering is not present
|
||||
- Affected decoders: MediaTek decoder in Fire HD 7 (2014)
|
||||
|
||||
6. Some decoders will hang if max_dec_frame_buffering IS present
|
||||
- Affected decoders: Exynos 5 in Galaxy Note 10.1 (2014)
|
||||
@@ -67,6 +67,7 @@ public class MediaCodecDecoderRenderer implements VideoDecoderRenderer {
|
||||
spsFixupBitstreamFixupDecoderPrefixes = new LinkedList<String>();
|
||||
spsFixupBitstreamFixupDecoderPrefixes.add("omx.nvidia");
|
||||
spsFixupBitstreamFixupDecoderPrefixes.add("omx.qcom");
|
||||
spsFixupBitstreamFixupDecoderPrefixes.add("omx.mtk");
|
||||
|
||||
whitelistedAdaptiveResolutionPrefixes = new LinkedList<String>();
|
||||
whitelistedAdaptiveResolutionPrefixes.add("omx.nvidia");
|
||||
|
||||
Reference in New Issue
Block a user