mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Allow up to 10 mb subtitles in batch convert - thx Kymophobia :)
This commit is contained in:
parent
160b387cf8
commit
b67fd3ae6d
@ -251,7 +251,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
|
|
||||||
SubtitleFormat format = null;
|
SubtitleFormat format = null;
|
||||||
var sub = new Subtitle();
|
var sub = new Subtitle();
|
||||||
if (fi.Length < 1024 * 1024) // max 1 mb
|
if (fi.Length < 1024 * 1024 * 10) // max 10 mb
|
||||||
{
|
{
|
||||||
Encoding encoding;
|
Encoding encoding;
|
||||||
format = sub.LoadSubtitle(fileName, out encoding, null);
|
format = sub.LoadSubtitle(fileName, out encoding, null);
|
||||||
|
Loading…
Reference in New Issue
Block a user