2016-07-24 22:12:38 -07:00
|
|
|
|
namespace MediaBrowser.Model.Dlna
|
|
|
|
|
{
|
|
|
|
|
public interface ITranscoderSupport
|
|
|
|
|
{
|
|
|
|
|
bool CanEncodeToAudioCodec(string codec);
|
2017-01-29 13:00:29 -07:00
|
|
|
|
bool CanEncodeToSubtitleCodec(string codec);
|
2017-08-23 12:45:40 -07:00
|
|
|
|
bool CanExtractSubtitles(string codec);
|
2016-07-24 22:12:38 -07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class FullTranscoderSupport : ITranscoderSupport
|
|
|
|
|
{
|
|
|
|
|
public bool CanEncodeToAudioCodec(string codec)
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2017-01-29 13:00:29 -07:00
|
|
|
|
public bool CanEncodeToSubtitleCodec(string codec)
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2017-08-23 12:45:40 -07:00
|
|
|
|
public bool CanExtractSubtitles(string codec)
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2016-07-24 22:12:38 -07:00
|
|
|
|
}
|
|
|
|
|
}
|