2020-02-04 01:49:27 +01:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 21:02:23 +01:00
|
|
|
namespace MediaBrowser.Model.Dlna
|
2018-12-28 00:27:57 +01:00
|
|
|
{
|
|
|
|
public interface ITranscoderSupport
|
|
|
|
{
|
|
|
|
bool CanEncodeToAudioCodec(string codec);
|
|
|
|
bool CanEncodeToSubtitleCodec(string codec);
|
|
|
|
bool CanExtractSubtitles(string codec);
|
|
|
|
}
|
|
|
|
|
|
|
|
public class FullTranscoderSupport : ITranscoderSupport
|
|
|
|
{
|
|
|
|
public bool CanEncodeToAudioCodec(string codec)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
public bool CanEncodeToSubtitleCodec(string codec)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
public bool CanExtractSubtitles(string codec)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|