mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
A bit more for #5582
This commit is contained in:
parent
1148d30e39
commit
79d7c417d4
@ -5,7 +5,7 @@
|
||||
* Option for auto-gen waveform when opening video - thx jirih/Leon/OmrSi
|
||||
* IMPROVED:
|
||||
* Update Bulgarian translation - thx Калин
|
||||
* Update Italian translation - thx NAMP/bovirus
|
||||
* Update Italian translation - thx NAMP/bovirus
|
||||
* Update Brazil translation - thx Igor
|
||||
* Update Portuguese translation - thx hugok79
|
||||
* Update Polish translation - thx admas
|
||||
@ -18,6 +18,8 @@
|
||||
* FIXED:
|
||||
* Fix for generating empty waveform for online videos - thx OmrSi
|
||||
* Fix for finding frame rate in some mp4 files - thx OmrSi
|
||||
* Fix typo for middle/center in WebVTT properties form defaults - thx koitsu
|
||||
* Fix issue with TTML 1.0 + favorite + ext change - thx OmrSi
|
||||
|
||||
|
||||
3.6.4 (3rd December 2021)
|
||||
|
@ -66,9 +66,14 @@ namespace Nikse.SubtitleEdit.Core.Common
|
||||
|
||||
public static SubtitleFormat GetSubtitleFormatByFriendlyName(string friendlyName)
|
||||
{
|
||||
if (friendlyName.IndexOf('(') > 0)
|
||||
{
|
||||
friendlyName = friendlyName.Substring(0, friendlyName.IndexOf('(')).TrimEnd();
|
||||
}
|
||||
|
||||
foreach (var format in SubtitleFormat.AllSubtitleFormats)
|
||||
{
|
||||
if (format.FriendlyName == friendlyName || format.Name == friendlyName)
|
||||
if (format.Name == friendlyName)
|
||||
{
|
||||
return format;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user