Merge pull request #461 from almiki:release
PiperOrigin-RevId: 542228372
This commit is contained in:
commit
6e9df8df77
@ -37,6 +37,9 @@
|
|||||||
* MPEG-TS: Ensure the last frame is rendered by passing the last access
|
* MPEG-TS: Ensure the last frame is rendered by passing the last access
|
||||||
unit of a stream to the sample queue
|
unit of a stream to the sample queue
|
||||||
([#7909](https://github.com/google/ExoPlayer/issues/7909)).
|
([#7909](https://github.com/google/ExoPlayer/issues/7909)).
|
||||||
|
* Fix typo when determining `rotationDegrees`. Changed
|
||||||
|
`projectionPosePitch` to `projectionPoseRoll`
|
||||||
|
([#461](https://github.com/androidx/media/pull/461)).
|
||||||
* Audio:
|
* Audio:
|
||||||
* Audio Offload:
|
* Audio Offload:
|
||||||
* Add `AudioSink.getFormatOffloadSupport(Format)` that retrieves level of
|
* Add `AudioSink.getFormatOffloadSupport(Format)` that retrieves level of
|
||||||
|
@ -2293,12 +2293,12 @@ public class MatroskaExtractor implements Extractor {
|
|||||||
// The range of projectionPoseRoll is [-180, 180].
|
// The range of projectionPoseRoll is [-180, 180].
|
||||||
if (Float.compare(projectionPoseRoll, 0f) == 0) {
|
if (Float.compare(projectionPoseRoll, 0f) == 0) {
|
||||||
rotationDegrees = 0;
|
rotationDegrees = 0;
|
||||||
} else if (Float.compare(projectionPosePitch, 90f) == 0) {
|
} else if (Float.compare(projectionPoseRoll, 90f) == 0) {
|
||||||
rotationDegrees = 90;
|
rotationDegrees = 90;
|
||||||
} else if (Float.compare(projectionPosePitch, -180f) == 0
|
} else if (Float.compare(projectionPoseRoll, -180f) == 0
|
||||||
|| Float.compare(projectionPosePitch, 180f) == 0) {
|
|| Float.compare(projectionPoseRoll, 180f) == 0) {
|
||||||
rotationDegrees = 180;
|
rotationDegrees = 180;
|
||||||
} else if (Float.compare(projectionPosePitch, -90f) == 0) {
|
} else if (Float.compare(projectionPoseRoll, -90f) == 0) {
|
||||||
rotationDegrees = 270;
|
rotationDegrees = 270;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user