Commit b5a464cb by christosts Committed by Oliver Woodman

Forward FRAME-RATE from the master playlist to renditions

Issue: #8960

#minor-release

PiperOrigin-RevId: 379922704
parent 0f23fdde
...@@ -73,6 +73,9 @@ ...@@ -73,6 +73,9 @@
* Add `setUseFastForwardActionInCompactView(boolean)` and * Add `setUseFastForwardActionInCompactView(boolean)` and
`setUseRewindActionInCompactView(boolean)` to make it possible to show `setUseRewindActionInCompactView(boolean)` to make it possible to show
seek actions in compact view mode. 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) ### 2.14.1 (2021-06-11)
......
...@@ -1506,7 +1506,8 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull; ...@@ -1506,7 +1506,8 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
.setPeakBitrate(propagateBitrates ? playlistFormat.peakBitrate : Format.NO_VALUE) .setPeakBitrate(propagateBitrates ? playlistFormat.peakBitrate : Format.NO_VALUE)
.setCodecs(codecs) .setCodecs(codecs)
.setWidth(playlistFormat.width) .setWidth(playlistFormat.width)
.setHeight(playlistFormat.height); .setHeight(playlistFormat.height)
.setFrameRate(playlistFormat.frameRate);
if (sampleMimeType != null) { if (sampleMimeType != null) {
formatBuilder.setSampleMimeType(sampleMimeType); formatBuilder.setSampleMimeType(sampleMimeType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment