Use directshow as last method of finding video info (sometimes MS makes bad windows updates and codecs can be broken), so this should make SE a bit more stable.

thx Pierre-Yves :)
This commit is contained in:
Nikolaj Olsson 2017-04-01 11:33:38 +02:00
parent d7cee97915
commit 80dbe7bb10

View File

@ -28,11 +28,11 @@ namespace Nikse.SubtitleEdit.Logic
if (info.Success) if (info.Success)
return info; return info;
info = TryReadVideoInfoViaDirectShow(fileName); info = Utilities.TryReadVideoInfoViaMp4(fileName);
if (info.Success) if (info.Success)
return info; return info;
info = Utilities.TryReadVideoInfoViaMp4(fileName); info = TryReadVideoInfoViaDirectShow(fileName);
if (info.Success) if (info.Success)
return info; return info;