Explorar o código

removed audio sync

Luke Pulverenti %!s(int64=11) %!d(string=hai) anos
pai
achega
235b6c98ea
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      MediaBrowser.Api/Playback/Hls/VideoHlsService.cs

+ 2 - 2
MediaBrowser.Api/Playback/Hls/VideoHlsService.cs

@@ -96,10 +96,10 @@ namespace MediaBrowser.Api.Playback.Hls
                 // Boost volume to 200% when downsampling from 6ch to 2ch
                 if (channels.HasValue && channels.Value <= 2 && state.AudioStream.Channels.HasValue && state.AudioStream.Channels.Value > 5)
                 {
-                    volParam = ",volume=2.000000";
+                    volParam = "volume=2.000000";
                 }
                 
-                args += string.Format(" -af \"aresample=async=1000{0}\"", volParam);
+                args += string.Format(" -af \"{0}\"", volParam);
 
                 return args;
             }