mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix inconsistency with spec in H.265 SPS nal units parsing
Issue: google/ExoPlayer#9719 #minor-release PiperOrigin-RevId: 412424558
This commit is contained in:
parent
0e65925bb2
commit
dbec03b543
2 changed files with 4 additions and 1 deletions
|
|
@ -5,6 +5,9 @@
|
||||||
* Core library:
|
* Core library:
|
||||||
* Support preferred video role flags in track selection
|
* Support preferred video role flags in track selection
|
||||||
((#9402)[https://github.com/google/ExoPlayer/issues/9402]).
|
((#9402)[https://github.com/google/ExoPlayer/issues/9402]).
|
||||||
|
* Extractors:
|
||||||
|
* Fix inconsistency with spec in H.265 SPS nal units parsing
|
||||||
|
((#9719)[https://github.com/google/ExoPlayer/issues/9719]).
|
||||||
* DRM:
|
* DRM:
|
||||||
* Remove `playbackLooper` from `DrmSessionManager.(pre)acquireSession`.
|
* Remove `playbackLooper` from `DrmSessionManager.(pre)acquireSession`.
|
||||||
When a `DrmSessionManager` is used by an app in a custom `MediaSource`,
|
When a `DrmSessionManager` is used by an app in a custom `MediaSource`,
|
||||||
|
|
|
||||||
|
|
@ -779,7 +779,7 @@ public final class NalUnitUtil {
|
||||||
bitArray.skipBit(); // delta_rps_sign
|
bitArray.skipBit(); // delta_rps_sign
|
||||||
bitArray.readUnsignedExpGolombCodedInt(); // abs_delta_rps_minus1
|
bitArray.readUnsignedExpGolombCodedInt(); // abs_delta_rps_minus1
|
||||||
for (int j = 0; j <= previousNumDeltaPocs; j++) {
|
for (int j = 0; j <= previousNumDeltaPocs; j++) {
|
||||||
if (bitArray.readBit()) { // used_by_curr_pic_flag[j]
|
if (!bitArray.readBit()) { // used_by_curr_pic_flag[j]
|
||||||
bitArray.skipBit(); // use_delta_flag[j]
|
bitArray.skipBit(); // use_delta_flag[j]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue