Fix AV sync issue
r4229 introduced an AV sync issue due to an error. This is a one linear fix and provides the correct current video delay for synchronization. TBR=wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1675004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4231 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
9b23ecb939
commit
7262ad1385
@ -153,7 +153,7 @@ int32_t ViESyncModule::Process() {
|
||||
TRACE_COUNTER1("webrtc", "SyncCurrentAudioDelay", current_audio_delay_ms);
|
||||
TRACE_COUNTER1("webrtc", "SyncRelativeDelay", relative_delay_ms);
|
||||
int target_audio_delay_ms = 0;
|
||||
int target_video_delay_ms = 0;
|
||||
int target_video_delay_ms = current_video_delay_ms;
|
||||
// Calculate the necessary extra audio delay and desired total video
|
||||
// delay to get the streams in sync.
|
||||
if (!sync_->ComputeDelays(relative_delay_ms,
|
||||
|
Loading…
x
Reference in New Issue
Block a user