mirror of
https://github.com/samsonjs/media.git
synced 2026-03-29 10:05:48 +00:00
Remove duplicated tracksEnded check in HlsSampleStreamWrapper
PiperOrigin-RevId: 271364512
This commit is contained in:
parent
87138ceede
commit
d9b60edabf
1 changed files with 3 additions and 5 deletions
|
|
@ -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…
Reference in a new issue