aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortikuf <admin@nyalindee.com>2013-12-29 13:34:33 +1100
committertikuf <admin@nyalindee.com>2013-12-29 13:34:33 +1100
commitff9e74dd4475d28a1f90a51cb2969c90474279b0 (patch)
tree5b2e2c8e633dca872a0c5ec84a4938270da54f73
parent052e632a97011b178d0ec6c139a10c1f316dce77 (diff)
Change audio sync (sync at start no corrections)
-rw-r--r--MediaBrowser.Api/Playback/Hls/VideoHlsService.cs2
-rw-r--r--MediaBrowser.Api/Playback/Progressive/VideoService.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs
index 99772d2ec..583082500 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 31dbcaafb..f4e4019f6 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;
}