Fix last-half-segment split prevention to _actually_ only work for VoD, excluding live-with-VoD
This commit is contained in:
parent
d7ec340d7e
commit
e6621fc09c
1 changed files with 1 additions and 1 deletions
|
@ -1321,7 +1321,7 @@ namespace Mist{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// If splitting would result in a tiny segment at the end, do not split
|
// If splitting would result in a tiny segment at the end, do not split
|
||||||
if (M.getVod() && (endTime() - lastPacketTime) < (atoll(targetParams["split"].c_str()) * 500)){
|
if (!M.getLive() && (endTime() - lastPacketTime) < (atoll(targetParams["split"].c_str()) * 500)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// is this a split point?
|
// is this a split point?
|
||||||
|
|
Loading…
Add table
Reference in a new issue