mirror of
https://github.com/samsonjs/media.git
synced 2026-04-18 13:25:47 +00:00
Add full stops
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=167711267
This commit is contained in:
parent
e7992513d3
commit
d66143d96d
5 changed files with 8 additions and 8 deletions
|
|
@ -1147,7 +1147,7 @@ import java.util.List;
|
|||
}
|
||||
|
||||
/**
|
||||
* Parses the proj box from sv3d box, as specified by https://github.com/google/spatial-media
|
||||
* Parses the proj box from sv3d box, as specified by https://github.com/google/spatial-media.
|
||||
*/
|
||||
private static byte[] parseProjFromParent(ParsableByteArray parent, int position, int size) {
|
||||
int childPosition = position + Atom.HEADER_SIZE;
|
||||
|
|
|
|||
|
|
@ -283,13 +283,13 @@ public final class MediaCodecUtil {
|
|||
return false;
|
||||
}
|
||||
|
||||
// Work around https://github.com/google/ExoPlayer/issues/398
|
||||
// Work around https://github.com/google/ExoPlayer/issues/398.
|
||||
if (Util.SDK_INT < 18 && "OMX.SEC.MP3.Decoder".equals(name)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Work around https://github.com/google/ExoPlayer/issues/1528 and
|
||||
// https://github.com/google/ExoPlayer/issues/3171
|
||||
// https://github.com/google/ExoPlayer/issues/3171.
|
||||
if (Util.SDK_INT < 18 && "OMX.MTK.AUDIO.DECODER.AAC".equals(name)
|
||||
&& ("a70".equals(Util.DEVICE)
|
||||
|| ("Xiaomi".equals(Util.MANUFACTURER) && Util.DEVICE.startsWith("HM")))) {
|
||||
|
|
@ -325,7 +325,7 @@ public final class MediaCodecUtil {
|
|||
return false;
|
||||
}
|
||||
|
||||
// Work around https://github.com/google/ExoPlayer/issues/548
|
||||
// Work around https://github.com/google/ExoPlayer/issues/548.
|
||||
// VP8 decoder on Samsung Galaxy S3/S4/S4 Mini/Tab 3/Note 2 does not render video.
|
||||
if (Util.SDK_INT <= 19
|
||||
&& "OMX.SEC.vp8.dec".equals(name) && "samsung".equals(Util.MANUFACTURER)
|
||||
|
|
|
|||
|
|
@ -40,8 +40,8 @@ public final class MetadataRenderer extends BaseRenderer implements Callback {
|
|||
|
||||
private static final int MSG_INVOKE_RENDERER = 0;
|
||||
// TODO: Holding multiple pending metadata objects is temporary mitigation against
|
||||
// https://github.com/google/ExoPlayer/issues/1874
|
||||
// It should be removed once this issue has been addressed.
|
||||
// https://github.com/google/ExoPlayer/issues/1874. It should be removed once this issue has been
|
||||
// addressed.
|
||||
private static final int MAX_PENDING_METADATA_COUNT = 5;
|
||||
|
||||
private final MetadataDecoderFactory decoderFactory;
|
||||
|
|
|
|||
|
|
@ -979,7 +979,7 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
|
|||
* If true is returned then we fall back to releasing and re-instantiating the codec instead.
|
||||
*/
|
||||
private static boolean codecNeedsSetOutputSurfaceWorkaround(String name) {
|
||||
// Work around https://github.com/google/ExoPlayer/issues/3236
|
||||
// Work around https://github.com/google/ExoPlayer/issues/3236.
|
||||
return ("deb".equals(Util.DEVICE) || "flo".equals(Util.DEVICE))
|
||||
&& "OMX.qcom.video.decoder.avc".equals(name);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -432,7 +432,7 @@ public final class SimpleExoPlayerView extends FrameLayout {
|
|||
public void setVisibility(int visibility) {
|
||||
super.setVisibility(visibility);
|
||||
if (surfaceView instanceof SurfaceView) {
|
||||
// Work around https://github.com/google/ExoPlayer/issues/3160
|
||||
// Work around https://github.com/google/ExoPlayer/issues/3160.
|
||||
surfaceView.setVisibility(visibility);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue