aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2013-12-28 18:40:35 -0800
committerLuke <luke.pulverenti@gmail.com>2013-12-28 18:40:35 -0800
commit532296a9aa5b2afdb69825c995b1e6a0fd9ff7a5 (patch)
tree5b2e2c8e633dca872a0c5ec84a4938270da54f73
parent052e632a97011b178d0ec6c139a10c1f316dce77 (diff)
parentff9e74dd4475d28a1f90a51cb2969c90474279b0 (diff)
Merge pull request #654 from tikuf/master
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;
}