mirror of
https://github.com/androidx/media.git
synced 2025-05-10 00:59:51 +08:00
Remove HlsMasterPlaylist from null-checking blacklist
PiperOrigin-RevId: 275052534
This commit is contained in:
parent
23f545a0a4
commit
0d5b3c0fa4
@ -94,7 +94,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||
private final Format[] playlistFormats;
|
||||
private final HlsPlaylistTracker playlistTracker;
|
||||
private final TrackGroup trackGroup;
|
||||
private final List<Format> muxedCaptionFormats;
|
||||
@Nullable private final List<Format> muxedCaptionFormats;
|
||||
private final FullSegmentEncryptionKeyCache keyCache;
|
||||
|
||||
private boolean isTimestampMaster;
|
||||
@ -135,7 +135,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||
HlsDataSourceFactory dataSourceFactory,
|
||||
@Nullable TransferListener mediaTransferListener,
|
||||
TimestampAdjusterProvider timestampAdjusterProvider,
|
||||
List<Format> muxedCaptionFormats) {
|
||||
@Nullable List<Format> muxedCaptionFormats) {
|
||||
this.extractorFactory = extractorFactory;
|
||||
this.playlistTracker = playlistTracker;
|
||||
this.playlistUrls = playlistUrls;
|
||||
|
@ -735,7 +735,7 @@ public final class HlsMediaPeriod implements MediaPeriod, HlsSampleStreamWrapper
|
||||
Uri[] playlistUrls,
|
||||
Format[] playlistFormats,
|
||||
Format muxedAudioFormat,
|
||||
List<Format> muxedCaptionFormats,
|
||||
@Nullable List<Format> muxedCaptionFormats,
|
||||
Map<String, DrmInitData> overridingDrmInitData,
|
||||
long positionUs) {
|
||||
HlsChunkSource defaultChunkSource =
|
||||
|
@ -180,7 +180,7 @@ public final class HlsMasterPlaylist extends HlsPlaylist {
|
||||
* explicitly declares no captions are available, or null if the playlist does not declare any
|
||||
* captions information.
|
||||
*/
|
||||
public final List<Format> muxedCaptionFormats;
|
||||
@Nullable public final List<Format> muxedCaptionFormats;
|
||||
/** Contains variable definitions, as defined by the #EXT-X-DEFINE tag. */
|
||||
public final Map<String, String> variableDefinitions;
|
||||
/** DRM initialization data derived from #EXT-X-SESSION-KEY tags. */
|
||||
@ -209,7 +209,7 @@ public final class HlsMasterPlaylist extends HlsPlaylist {
|
||||
List<Rendition> subtitles,
|
||||
List<Rendition> closedCaptions,
|
||||
@Nullable Format muxedAudioFormat,
|
||||
List<Format> muxedCaptionFormats,
|
||||
@Nullable List<Format> muxedCaptionFormats,
|
||||
boolean hasIndependentSegments,
|
||||
Map<String, String> variableDefinitions,
|
||||
List<DrmInitData> sessionKeyDrmInitData) {
|
||||
@ -258,7 +258,7 @@ public final class HlsMasterPlaylist extends HlsPlaylist {
|
||||
List<Variant> variant =
|
||||
Collections.singletonList(Variant.createMediaPlaylistVariantUrl(Uri.parse(variantUrl)));
|
||||
return new HlsMasterPlaylist(
|
||||
/* baseUri= */ null,
|
||||
/* baseUri= */ "",
|
||||
/* tags= */ Collections.emptyList(),
|
||||
variant,
|
||||
/* videos= */ Collections.emptyList(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user