Skip to content

Commit

Permalink
Fix SmoothStreaming
Browse files Browse the repository at this point in the history
Issue: #6981
PiperOrigin-RevId: 295579872
  • Loading branch information
ojw28 authored and icbaker committed Feb 17, 2020
1 parent d1e4a63 commit e77ff2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@

### 2.11.3 (2020-02-19) ###

* SmoothStreaming: Fix regression that broke playback in 2.11.2
([#6981](https://github.com/google/ExoPlayer/issues/6981)).
* DRM: Fix issue switching from protected content that uses a 16-byte
initialization vector to one that uses an 8-byte initialization vector
([#6982](https://github.com/google/ExoPlayer/issues/6982)).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,12 @@ public DefaultSsChunkSource(
Track track = new Track(manifestTrackIndex, streamElement.type, streamElement.timescale,
C.TIME_UNSET, manifest.durationUs, format, Track.TRANSFORMATION_NONE,
trackEncryptionBoxes, nalUnitLengthFieldLength, null, null);
FragmentedMp4Extractor extractor = new FragmentedMp4Extractor(
FragmentedMp4Extractor.FLAG_WORKAROUND_EVERY_VIDEO_FRAME_IS_SYNC_FRAME
| FragmentedMp4Extractor.FLAG_WORKAROUND_IGNORE_TFDT_BOX, null, track, null);
FragmentedMp4Extractor extractor =
new FragmentedMp4Extractor(
FragmentedMp4Extractor.FLAG_WORKAROUND_EVERY_VIDEO_FRAME_IS_SYNC_FRAME
| FragmentedMp4Extractor.FLAG_WORKAROUND_IGNORE_TFDT_BOX,
/* timestampAdjuster= */ null,
track);
extractorWrappers[i] = new ChunkExtractorWrapper(extractor, streamElement.type, format);
}
}
Expand Down

0 comments on commit e77ff2a

Please sign in to comment.