allow disabling of hardware transcoding on HDTC-2US

This commit is contained in:
Daniel Becker
2016-04-03 23:46:45 -07:00
parent 1071a5a5f3
commit c9092de032
2 changed files with 4 additions and 2 deletions

View File

@@ -397,7 +397,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.TunerHosts.HdHomerun
string model = await GetModelInfo(info, cancellationToken).ConfigureAwait(false);
model = model ?? string.Empty;
if (model.IndexOf("hdtc", StringComparison.OrdinalIgnoreCase) != -1)
if (info.AllowHWTranscoding && (model.IndexOf("hdtc", StringComparison.OrdinalIgnoreCase) != -1))
{
list.Add(await GetMediaSource(info, hdhrId, "heavy").ConfigureAwait(false));