mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
parent
6947faeba2
commit
f8db47dba6
@ -2207,6 +2207,12 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
height = vInfo.Height;
|
height = vInfo.Height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (width == 0 || height == 0)
|
||||||
|
{
|
||||||
|
SeLogger.Error("Skipping burn-in file with no video: " + fileName);
|
||||||
|
return; // skip audio or damaged files
|
||||||
|
}
|
||||||
|
|
||||||
var listViewItem = new ListViewItem(fileName);
|
var listViewItem = new ListViewItem(fileName);
|
||||||
listViewItem.Tag = item;
|
listViewItem.Tag = item;
|
||||||
listViewItem.SubItems.Add($"{width}x{height}");
|
listViewItem.SubItems.Add($"{width}x{height}");
|
||||||
|
Loading…
Reference in New Issue
Block a user