07cc4be6a7
* Add analyzers to MediaBrowser.XbmcMetadata * Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata * Add analyzers to MediaBrowser.WebDashboard * Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard * Disable SA1600 in favor of CS1591
28 lines
650 B
C#
28 lines
650 B
C#
#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;
|
|
}
|
|
}
|
|
}
|