Remove duplicated tracksEnded check in HlsSampleStreamWrapper
PiperOrigin-RevId: 271364512
This commit is contained in:
parent
87138ceede
commit
d9b60edabf
@ -801,8 +801,6 @@ import java.util.Map;
|
|||||||
sampleQueueTrackIds[sampleQueueIndex] = id;
|
sampleQueueTrackIds[sampleQueueIndex] = id;
|
||||||
return sampleQueues[sampleQueueIndex];
|
return sampleQueues[sampleQueueIndex];
|
||||||
}
|
}
|
||||||
} else if (tracksEnded) {
|
|
||||||
return createDummyTrackOutput(id, type);
|
|
||||||
}
|
}
|
||||||
} else /* sparse track */ {
|
} else /* sparse track */ {
|
||||||
for (int i = 0; i < trackCount; i++) {
|
for (int i = 0; i < trackCount; i++) {
|
||||||
@ -810,10 +808,10 @@ import java.util.Map;
|
|||||||
return sampleQueues[i];
|
return sampleQueues[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (tracksEnded) {
|
if (tracksEnded) {
|
||||||
return createDummyTrackOutput(id, type);
|
return createDummyTrackOutput(id, type);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
SampleQueue trackOutput = new PrivTimestampStrippingSampleQueue(allocator);
|
SampleQueue trackOutput = new PrivTimestampStrippingSampleQueue(allocator);
|
||||||
trackOutput.setSampleOffsetUs(sampleOffsetUs);
|
trackOutput.setSampleOffsetUs(sampleOffsetUs);
|
||||||
trackOutput.sourceId(chunkUid);
|
trackOutput.sourceId(chunkUid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user