Index: webrtc/modules/video_coding/video_coding_impl.cc |
diff --git a/webrtc/modules/video_coding/video_coding_impl.cc b/webrtc/modules/video_coding/video_coding_impl.cc |
index 7d6d17798dc61e3a4f6f5aaae4dc32a47052b80c..7f74b4162f26764550f614cc0d1bd249e0b562c8 100644 |
--- a/webrtc/modules/video_coding/video_coding_impl.cc |
+++ b/webrtc/modules/video_coding/video_coding_impl.cc |
@@ -94,9 +94,12 @@ |
return VCM_MIN(sender_time, receiver_time); |
} |
- void Process() override { |
- sender_.Process(); |
- receiver_.Process(); |
+ int32_t Process() override { |
+ int32_t sender_return = sender_.Process(); |
+ int32_t receiver_return = receiver_.Process(); |
+ if (sender_return != VCM_OK) |
+ return sender_return; |
+ return receiver_return; |
} |
int32_t RegisterSendCodec(const VideoCodec* sendCodec, |