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;
|
||||
return sampleQueues[sampleQueueIndex];
|
||||
}
|
||||
} else if (tracksEnded) {
|
||||
return createDummyTrackOutput(id, type);
|
||||
}
|
||||
} else /* sparse track */ {
|
||||
for (int i = 0; i < trackCount; i++) {
|
||||
@ -810,9 +808,9 @@ import java.util.Map;
|
||||
return sampleQueues[i];
|
||||
}
|
||||
}
|
||||
if (tracksEnded) {
|
||||
return createDummyTrackOutput(id, type);
|
||||
}
|
||||
}
|
||||
if (tracksEnded) {
|
||||
return createDummyTrackOutput(id, type);
|
||||
}
|
||||
SampleQueue trackOutput = new PrivTimestampStrippingSampleQueue(allocator);
|
||||
trackOutput.setSampleOffsetUs(sampleOffsetUs);
|
||||
|
Loading…
x
Reference in New Issue
Block a user