瀏覽代碼

add sync values for live tv

Luke Pulverenti 11 年之前
父節點
當前提交
6b7059cfb4
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      MediaBrowser.Api/Playback/BaseStreamingService.cs

+ 4 - 0
MediaBrowser.Api/Playback/BaseStreamingService.cs

@@ -1358,6 +1358,8 @@ namespace MediaBrowser.Api.Playback
                 state.ReadInputAtNativeFramerate = recording.RecordingInfo.Status == RecordingStatus.InProgress;
                 state.AudioSync = "1000";
                 state.DeInterlace = true;
+                state.InputVideoSync = "-1";
+                state.InputAudioSync = "1";
             }
             else if (item is LiveTvChannel)
             {
@@ -1387,6 +1389,8 @@ namespace MediaBrowser.Api.Playback
                 state.ReadInputAtNativeFramerate = true;
                 state.AudioSync = "1000";
                 state.DeInterlace = true;
+                state.InputVideoSync = "-1";
+                state.InputAudioSync = "1";
             }
             else
             {