From ff9e74dd4475d28a1f90a51cb2969c90474279b0 Mon Sep 17 00:00:00 2001 From: tikuf Date: Sun, 29 Dec 2013 13:34:33 +1100 Subject: [PATCH] Change audio sync (sync at start no corrections) --- MediaBrowser.Api/Playback/Hls/VideoHlsService.cs | 2 +- MediaBrowser.Api/Playback/Progressive/VideoService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs index 99772d2ece..583082500c 100644 --- a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs +++ b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs @@ -94,7 +94,7 @@ namespace MediaBrowser.Api.Playback.Hls audioSampleRate = state.Request.AudioSampleRate.Value + ":"; } - args += string.Format(" -af \"adelay=1,aresample={0}async=1000{1}\"", audioSampleRate, volParam); + args += string.Format(" -af \"adelay=1,aresample={0}async=1{1}\"", audioSampleRate, volParam); return args; } diff --git a/MediaBrowser.Api/Playback/Progressive/VideoService.cs b/MediaBrowser.Api/Playback/Progressive/VideoService.cs index 31dbcaafbf..f4e4019f67 100644 --- a/MediaBrowser.Api/Playback/Progressive/VideoService.cs +++ b/MediaBrowser.Api/Playback/Progressive/VideoService.cs @@ -250,7 +250,7 @@ namespace MediaBrowser.Api.Playback.Progressive AudioSampleRate = state.Request.AudioSampleRate.Value + ":"; } - args += string.Format(" -af \"aresample={0}async=1000{1}\"", AudioSampleRate, volParam); + args += string.Format(" -af \"aresample={0}async=1{1}\"", AudioSampleRate, volParam); return args; }