Commit 2ba0b1d9 by Steve Mayhew

Format in TrackGroup must include roleFlags from HLS manifest parse

With sample prepare (non-chunkless) the `Format` object in the TrackGroup is derived from the data in the stream and data in the manifest.  This change includes the roleFlags from the HLS manifest parse in the final derived format.
parent bb744e5f
...@@ -1314,6 +1314,7 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull; ...@@ -1314,6 +1314,7 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
.setLabel(playlistFormat.label) .setLabel(playlistFormat.label)
.setLanguage(playlistFormat.language) .setLanguage(playlistFormat.language)
.setSelectionFlags(playlistFormat.selectionFlags) .setSelectionFlags(playlistFormat.selectionFlags)
.setRoleFlags(playlistFormat.roleFlags)
.setAverageBitrate(propagateBitrates ? playlistFormat.averageBitrate : Format.NO_VALUE) .setAverageBitrate(propagateBitrates ? playlistFormat.averageBitrate : Format.NO_VALUE)
.setPeakBitrate(propagateBitrates ? playlistFormat.peakBitrate : Format.NO_VALUE) .setPeakBitrate(propagateBitrates ? playlistFormat.peakBitrate : Format.NO_VALUE)
.setCodecs(codecs) .setCodecs(codecs)
......
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