mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Forward FRAME-RATE from the master playlist to renditions
Issue: #8960 PiperOrigin-RevId: 379922704
This commit is contained in:
parent
4190ff3274
commit
f3e62343fc
@ -24,6 +24,8 @@
|
|||||||
`EXT-X-MAP` tag in a media playlist, would not be loaded when
|
`EXT-X-MAP` tag in a media playlist, would not be loaded when
|
||||||
encountered during playback
|
encountered during playback
|
||||||
([#9004](https://github.com/google/ExoPlayer/issues/9004)).
|
([#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:
|
* UI:
|
||||||
* Add `PendingIntent.FLAG_IMMUTABLE` flag when creating a broadcast intent
|
* Add `PendingIntent.FLAG_IMMUTABLE` flag when creating a broadcast intent
|
||||||
in `PlayerNotificationManager`. This is required to avoid an error on
|
in `PlayerNotificationManager`. This is required to avoid an error on
|
||||||
|
@ -1502,7 +1502,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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user