mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-18 03:19:06 -07:00
21 lines
474 B
C#
21 lines
474 B
C#
namespace MediaBrowser.Model.Dlna
|
|
{
|
|
public interface ITranscoderSupport
|
|
{
|
|
bool CanEncodeToAudioCodec(string codec);
|
|
bool CanEncodeToSubtitleCodec(string codec);
|
|
}
|
|
|
|
public class FullTranscoderSupport : ITranscoderSupport
|
|
{
|
|
public bool CanEncodeToAudioCodec(string codec)
|
|
{
|
|
return true;
|
|
}
|
|
public bool CanEncodeToSubtitleCodec(string codec)
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
}
|