Forward FRAME-RATE from the master playlist to renditions

Issue: #8960

PiperOrigin-RevId: 379922704
This commit is contained in:
christosts 2021-06-17 11:43:26 +01:00 committed by Ian Baker
parent 4190ff3274
commit f3e62343fc
2 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,8 @@
`EXT-X-MAP` tag in a media playlist, would not be loaded when
encountered during playback
([#9004](https://github.com/google/ExoPlayer/issues/9004)).
* Forward the FRAME-RATE value from the master playlist to renditions.
([#8960](https://github.com/google/ExoPlayer/issues/8960)).
* UI:
* Add `PendingIntent.FLAG_IMMUTABLE` flag when creating a broadcast intent
in `PlayerNotificationManager`. This is required to avoid an error on

View File

@ -1502,7 +1502,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);