mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Fixed crash in vob sub reading - thx T.S. :)
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1092 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
2f5e97134e
commit
931093a65f
@ -181,7 +181,7 @@ namespace Nikse.SubtitleEdit.Logic.VobSub
|
||||
VobSubMergedPack pack = list[i];
|
||||
if (pack.SubPicture == null || pack.SubPicture.ImageDisplayArea.Width <= 3 || pack.SubPicture.ImageDisplayArea.Height <= 2)
|
||||
list.RemoveAt(i);
|
||||
if (pack.EndTime.TotalSeconds - pack.StartTime.TotalSeconds < 0.1 && pack.SubPicture.ImageDisplayArea.Width <= 10 && pack.SubPicture.ImageDisplayArea.Height <= 10)
|
||||
else if (pack.EndTime.TotalSeconds - pack.StartTime.TotalSeconds < 0.1 && pack.SubPicture.ImageDisplayArea.Width <= 10 && pack.SubPicture.ImageDisplayArea.Height <= 10)
|
||||
list.RemoveAt(i);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user