diff --git a/app/src/main/java/com/limelight/binding/video/MediaCodecHelper.java b/app/src/main/java/com/limelight/binding/video/MediaCodecHelper.java index a101a2b2..e106271e 100644 --- a/app/src/main/java/com/limelight/binding/video/MediaCodecHelper.java +++ b/app/src/main/java/com/limelight/binding/video/MediaCodecHelper.java @@ -44,6 +44,7 @@ public class MediaCodecHelper { spsFixupBitstreamFixupDecoderPrefixes.add("omx.nvidia"); spsFixupBitstreamFixupDecoderPrefixes.add("omx.qcom"); spsFixupBitstreamFixupDecoderPrefixes.add("omx.mtk"); + spsFixupBitstreamFixupDecoderPrefixes.add("omx.brcm"); baselineProfileHackPrefixes = new LinkedList(); baselineProfileHackPrefixes.add("omx.intel"); diff --git a/decoder-errata.txt b/decoder-errata.txt index 0658dd32..577562b4 100644 --- a/decoder-errata.txt +++ b/decoder-errata.txt @@ -4,12 +4,12 @@ This file serves to document some of the decoder errata when using MediaCodec ha - Affected decoders: TI OMAP4, Allwinner A20 2. Some decoders have a huge per-frame latency with the unmodified SPS sent from NVENC. Setting max_dec_frame_buffering fixes this latency issue. - - Affected decoders: NVIDIA Tegra 3 and 4 + - Affected decoders: NVIDIA Tegra 3 and 4, Broadcom VideoCore IV 3. Some decoders strictly require that you pass BUFFER_FLAG_CODEC_CONFIG and crash upon the IDR frame if you don't - 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 +4. Some decoders require num_ref_frames=1 and max_dec_frame_buffering=1 to avoid crashing on SPS on first I-frame - Affected decoders: Qualcomm in GS3 on 4.3+, Exynos 4 at 1080p only 5. Some decoders will hang if max_dec_frame_buffering is not present