Fix compilation of MergingMediaSourceTest

This commit is contained in:
Ian Baker 2024-10-23 14:31:41 +01:00
parent 473a4a7680
commit 7cf500bc2d
2 changed files with 3 additions and 2 deletions

View File

@ -845,7 +845,7 @@ public interface AnalyticsListener {
/** /**
* @deprecated Implement {@link #onLoadStarted(EventTime, LoadEventInfo, MediaLoadData, int)} * @deprecated Implement {@link #onLoadStarted(EventTime, LoadEventInfo, MediaLoadData, int)}
* instead. * instead.
*/ */
@UnstableApi @UnstableApi
@Deprecated @Deprecated

View File

@ -139,7 +139,8 @@ public class MergingMediaSourceTest {
int windowIndex, int windowIndex,
@Nullable MediaPeriodId mediaPeriodId, @Nullable MediaPeriodId mediaPeriodId,
LoadEventInfo loadEventInfo, LoadEventInfo loadEventInfo,
MediaLoadData mediaLoadData) { MediaLoadData mediaLoadData,
int retryCount) {
if (mediaPeriodId != null) { if (mediaPeriodId != null) {
onLoadStartedMediaPeriodUids.add(mediaPeriodId.periodUid); onLoadStartedMediaPeriodUids.add(mediaPeriodId.periodUid);
} }