mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
33 lines
672 B
C#
33 lines
672 B
C#
#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;
|
|
}
|
|
}
|
|
}
|