Change audio sync (sync at start no corrections)
This commit is contained in:
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…
Reference in New Issue
Block a user