jellyfin-server/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 20:00:29 +00:00
bool CanEncodeToSubtitleCodec(string codec);
}
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;
}
}
}