Forward FRAME-RATE from the master playlist to renditions

Issue: #8960

#minor-release

PiperOrigin-RevId: 379922704
This commit is contained in:
christosts 2021-06-17 11:43:26 +01:00 committed by Oliver Woodman
parent 0f23fddeef
commit b5a464cbcc
2 changed files with 5 additions and 1 deletions

View file

@ -73,6 +73,9 @@
* Add `setUseFastForwardActionInCompactView(boolean)` and
`setUseRewindActionInCompactView(boolean)` to make it possible to show
seek actions in compact view mode.
* HLS
* Forward the FRAME-RATE value from the master playlist to renditions.
([#8960](https://github.com/google/ExoPlayer/issues/8960)).
### 2.14.1 (2021-06-11)

View file

@ -1506,7 +1506,8 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
.setPeakBitrate(propagateBitrates ? playlistFormat.peakBitrate : Format.NO_VALUE)
.setCodecs(codecs)
.setWidth(playlistFormat.width)
.setHeight(playlistFormat.height);
.setHeight(playlistFormat.height)
.setFrameRate(playlistFormat.frameRate);
if (sampleMimeType != null) {
formatBuilder.setSampleMimeType(sampleMimeType);