You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
672 B
33 lines
672 B
#nullable disable
|
|
#pragma warning disable CS1591
|
|
|
|
namespace MediaBrowser.Model.Dlna
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|