jellyfin/MediaBrowser.Model/Dlna/ITranscoderSupport.cs

21 lines
474 B
C#
Raw Normal View History

namespace MediaBrowser.Model.Dlna
{
public interface ITranscoderSupport
{
bool CanEncodeToAudioCodec(string codec);
2017-01-29 13:00:29 -07:00
bool CanEncodeToSubtitleCodec(string codec);
}
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;
}
}
}