remove unused property

This commit is contained in:
Luke Pulverenti
2016-12-28 01:08:18 -05:00
parent be390433dd
commit 5372c0bf23
37 changed files with 106 additions and 107 deletions

View File

@@ -1779,13 +1779,6 @@ namespace MediaBrowser.Api.Playback
request.Tag = val;
}
else if (i == 29)
{
if (videoRequest != null)
{
videoRequest.EnableSplittingOnNonKeyFrames = string.Equals("true", val, StringComparison.OrdinalIgnoreCase);
}
}
else if (i == 30)
{
if (videoRequest != null)
{
@@ -2122,7 +2115,7 @@ namespace MediaBrowser.Api.Playback
state.MediaSource = mediaSource;
}
protected virtual bool CanStreamCopyVideo(StreamState state)
protected bool CanStreamCopyVideo(StreamState state)
{
var request = state.VideoRequest;
var videoStream = state.VideoStream;
@@ -2407,7 +2400,6 @@ namespace MediaBrowser.Api.Playback
{
state.VideoRequest.CopyTimestamps = transcodingProfile.CopyTimestamps;
state.VideoRequest.EnableSubtitlesInManifest = transcodingProfile.EnableSubtitlesInManifest;
state.VideoRequest.EnableSplittingOnNonKeyFrames = transcodingProfile.EnableSplittingOnNonKeyFrames;
}
}
}