浏览代码

Merge pull request #2745 from Artiume/patch-6

Force Audio Transcoding for LiveTV Transcoding
Bond-009 5 年之前
父节点
当前提交
31769bda28
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      MediaBrowser.Api/Playback/MediaInfoService.cs

+ 1 - 4
MediaBrowser.Api/Playback/MediaInfoService.cs

@@ -520,10 +520,7 @@ namespace MediaBrowser.Api.Playback
                         streamInfo.StartPositionTicks = startTimeTicks;
                         mediaSource.TranscodingUrl = streamInfo.ToUrl("-", auth.Token).TrimStart('-');
                         mediaSource.TranscodingUrl += "&allowVideoStreamCopy=false";
-                        if (!allowAudioStreamCopy)
-                        {
-                            mediaSource.TranscodingUrl += "&allowAudioStreamCopy=false";
-                        }
+                        mediaSource.TranscodingUrl += "&allowAudioStreamCopy=false";
                         mediaSource.TranscodingContainer = streamInfo.Container;
                         mediaSource.TranscodingSubProtocol = streamInfo.SubProtocol;