diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-12-14 15:01:26 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-12-14 15:01:26 -0500 |
| commit | 1c1336ac084848d43f57e2b57a0568f78c278a2d (patch) | |
| tree | a0571e0b997ee9859bff617df53affa04e067e01 /MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs | |
| parent | 9df9723fa8554df0fd51d777d3f781b0136de926 (diff) | |
beta fixes
Diffstat (limited to 'MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs index af41ecb36..fe3bd12fb 100644 --- a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs +++ b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs @@ -501,6 +501,16 @@ namespace MediaBrowser.Api.Playback.Hls return false; } + if (string.Equals(state.OutputVideoCodec, "copy", StringComparison.OrdinalIgnoreCase)) + { + return false; + } + + if (string.Equals(state.OutputAudioCodec, "copy", StringComparison.OrdinalIgnoreCase)) + { + return false; + } + return state.VideoRequest.VideoBitRate.HasValue; } |
