mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Remove back debug head limit
This commit is contained in:
parent
682dd1093f
commit
08c34a18f2
@ -104,7 +104,7 @@ func toSegmentStr(segments []float64) string {
|
|||||||
func (ts *Stream) run(start int32) error {
|
func (ts *Stream) run(start int32) error {
|
||||||
// Start the transcode up to the 100th segment (or less)
|
// Start the transcode up to the 100th segment (or less)
|
||||||
// Stop at the first finished segment
|
// Stop at the first finished segment
|
||||||
end := min(start+3, int32(len(ts.file.Keyframes)))
|
end := min(start+100, int32(len(ts.file.Keyframes)))
|
||||||
ts.lock.Lock()
|
ts.lock.Lock()
|
||||||
for i := start; i < end; i++ {
|
for i := start; i < end; i++ {
|
||||||
if ts.isSegmentReady(i) || ts.isSegmentTranscoding(i) {
|
if ts.isSegmentReady(i) || ts.isSegmentTranscoding(i) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user