mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-20 04:18:51 -07:00
26 lines
621 B
C#
26 lines
621 B
C#
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;
|
|
}
|
|
}
|
|
}
|