|
|
|
@ -635,11 +635,12 @@ namespace MediaBrowser.Model.Entities
|
|
|
|
|
|
|
|
|
|
// sub = external .sub file
|
|
|
|
|
|
|
|
|
|
return !codec.Contains("pgs", StringComparison.OrdinalIgnoreCase) &&
|
|
|
|
|
!codec.Contains("dvd", StringComparison.OrdinalIgnoreCase) &&
|
|
|
|
|
!codec.Contains("dvbsub", StringComparison.OrdinalIgnoreCase) &&
|
|
|
|
|
!string.Equals(codec, "sub", StringComparison.OrdinalIgnoreCase) &&
|
|
|
|
|
!string.Equals(codec, "dvb_subtitle", StringComparison.OrdinalIgnoreCase);
|
|
|
|
|
return !codec.Contains("pgs", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|
&& !codec.Contains("dvd", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|
&& !codec.Contains("dvbsub", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|
&& !string.Equals(codec, "sub", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|
&& !string.Equals(codec, "sup", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|
&& !string.Equals(codec, "dvb_subtitle", StringComparison.OrdinalIgnoreCase);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public bool SupportsSubtitleConversionTo(string toCodec)
|
|
|
|
|