diff options
Diffstat (limited to 'MediaBrowser.Api/Playback/Progressive/VideoService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/Progressive/VideoService.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/MediaBrowser.Api/Playback/Progressive/VideoService.cs b/MediaBrowser.Api/Playback/Progressive/VideoService.cs index 65a62aad3..0ce33fca8 100644 --- a/MediaBrowser.Api/Playback/Progressive/VideoService.cs +++ b/MediaBrowser.Api/Playback/Progressive/VideoService.cs @@ -95,7 +95,7 @@ namespace MediaBrowser.Api.Playback.Progressive protected override string GetCommandLineArguments(string outputPath, StreamState state, bool performSubtitleConversions) { // Get the output codec name - var videoCodec = GetVideoCodec(state.VideoRequest); + var videoCodec = state.OutputVideoCodec; var format = string.Empty; var keyFrame = string.Empty; @@ -190,10 +190,8 @@ namespace MediaBrowser.Api.Playback.Progressive return string.Empty; } - var request = state.Request; - // Get the output codec name - var codec = GetAudioCodec(request); + var codec = state.OutputAudioCodec; if (codec.Equals("copy", StringComparison.OrdinalIgnoreCase)) { |
