Change audio sync (sync at start no corrections)

pull/702/head
tikuf 11 years ago
parent 052e632a97
commit ff9e74dd44

@ -94,7 +94,7 @@ namespace MediaBrowser.Api.Playback.Hls
audioSampleRate = state.Request.AudioSampleRate.Value + ":"; 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; return args;
} }

@ -250,7 +250,7 @@ namespace MediaBrowser.Api.Playback.Progressive
AudioSampleRate = state.Request.AudioSampleRate.Value + ":"; 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; return args;
} }

Loading…
Cancel
Save