From 23a737b7ce8b63be9da081ce78ac29e3225535a3 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 27 Mar 2005 10:32:03 +0000 Subject: [PATCH] Removed the lower limits for splitting by time and by size. --- src/merge/mkvmerge.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/merge/mkvmerge.cpp b/src/merge/mkvmerge.cpp index af386b3ef..613a3db45 100644 --- a/src/merge/mkvmerge.cpp +++ b/src/merge/mkvmerge.cpp @@ -681,8 +681,7 @@ parse_split(const string &arg) { mxsscanf(s.c_str(), "%d:%d:%d", &hours, &mins, &secs); split_after = secs + mins * 60 + hours * 3600; - if ((hours < 0) || (mins < 0) || (mins > 59) || - (secs < 0) || (secs > 59) || (split_after < 10)) + if ((hours < 0) || (mins < 0) || (mins > 59) || (secs < 0) || (secs > 59)) mxerror(_("Invalid time for '--split' in '--split %s'.\n"), arg.c_str()); @@ -721,10 +720,6 @@ parse_split(const string &arg) { mxerror(_("Invalid split size in '--split %s'.\n"), arg.c_str()); split_after *= modifier; - if (split_after <= (1024 * 1024)) - mxerror(_("Invalid split size in '--split %s': The size is too small.\n"), - arg.c_str()); - split_by_time = false; }