Skip to content

Commit

Permalink
Formatting fixes and release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tonihei committed Dec 11, 2023
1 parent 6f5187a commit 6603f5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
`ColorInfo.colorSpace`, `ColorInfo.colorTransfer`, and
`ColorInfo.colorRange` values
([#692](https://github.com/androidx/media/pull/692)).
* Fix wrong keyframe detection for TS H264 streams
([#864](https://github.com/androidx/media/pull/864)).
* Audio:
* Video:
* Add workaround for a device issue on Galaxy Tab S7 FE, Chromecast with
Expand Down
1 change: 1 addition & 0 deletions libraries/decoder_ffmpeg/src/main/jni/ffmpeg
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,12 @@ public void reset() {
sliceHeader.clear();
}

public void startNalUnit(long position, int type, long pesTimeUs, boolean rai) {
public void startNalUnit(
long position, int type, long pesTimeUs, boolean randomAccessIndicator) {
nalUnitType = type;
nalUnitTimeUs = pesTimeUs;
nalUnitStartPosition = position;
randomAccessIndicator = rai;
this.randomAccessIndicator = randomAccessIndicator;
if ((allowNonIdrKeyframes && nalUnitType == NalUnitUtil.NAL_UNIT_TYPE_NON_IDR)
|| (detectAccessUnits
&& (nalUnitType == NalUnitUtil.NAL_UNIT_TYPE_IDR
Expand Down

0 comments on commit 6603f5d

Please sign in to comment.