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