diff --git a/src/output/output.cpp b/src/output/output.cpp index f8fb51bf..6873c383 100644 --- a/src/output/output.cpp +++ b/src/output/output.cpp @@ -1321,7 +1321,7 @@ namespace Mist{ return false; } // 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; } // is this a split point?