mirror of
https://github.com/samsonjs/media.git
synced 2026-03-29 10:05:48 +00:00
Fix build by saving periodIndex to separate variable
This commit is contained in:
parent
5d728abc41
commit
c299748132
1 changed files with 2 additions and 1 deletions
|
|
@ -804,7 +804,8 @@ public class AnalyticsCollector
|
|||
|
||||
/** Updates the queue with a newly created media period. */
|
||||
public void onMediaPeriodCreated(int windowIndex, MediaPeriodId mediaPeriodId) {
|
||||
boolean isInTimeline = timeline.getIndexOfPeriod(mediaPeriodId.periodUid) != C.INDEX_UNSET;
|
||||
int periodIndex = timeline.getIndexOfPeriod(mediaPeriodId.periodUid);
|
||||
boolean isInTimeline = periodIndex != C.INDEX_UNSET;
|
||||
MediaPeriodInfo mediaPeriodInfo =
|
||||
new MediaPeriodInfo(
|
||||
mediaPeriodId,
|
||||
|
|
|
|||
Loading…
Reference in a new issue