Skip to content

Commit

Permalink
Forward FRAME-RATE from the master playlist to renditions
Browse files Browse the repository at this point in the history
Issue: #8960

PiperOrigin-RevId: 379922704
  • Loading branch information
christosts authored and icbaker committed Jul 16, 2021
1 parent 4190ff3 commit f3e6234
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,8 @@ private static Format deriveFormat(
.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);
Expand Down

0 comments on commit f3e6234

Please sign in to comment.