Fixes an incorrect if statement in vie_sync_module.cc.
BUG=1071 Review URL: https://webrtc-codereview.appspot.com/937018 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3081 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
6e470076ef
commit
8d18526834
@ -155,10 +155,10 @@ WebRtc_Word32 ViESyncModule::Process() {
|
||||
int extra_audio_delay_ms = 0;
|
||||
// Calculate the necessary extra audio delay and desired total video
|
||||
// delay to get the streams in sync.
|
||||
if (sync_->ComputeDelays(relative_delay_ms,
|
||||
current_audio_delay_ms,
|
||||
&extra_audio_delay_ms,
|
||||
&total_video_delay_target_ms) != 0) {
|
||||
if (!sync_->ComputeDelays(relative_delay_ms,
|
||||
current_audio_delay_ms,
|
||||
&extra_audio_delay_ms,
|
||||
&total_video_delay_target_ms)) {
|
||||
return 0;
|
||||
}
|
||||
if (voe_sync_interface_->SetMinimumPlayoutDelay(
|
||||
|
Loading…
x
Reference in New Issue
Block a user