Index: webrtc/video/video_quality_test.cc |
diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc |
index 1719595d3a7e2fa3094ffae43918d8b7306a92ed..12affa7ce4bed75649832029d98a8ae450101d27 100644 |
--- a/webrtc/video/video_quality_test.cc |
+++ b/webrtc/video/video_quality_test.cc |
@@ -2046,6 +2046,9 @@ void VideoQualityTest::RunWithRenderers(const Params& params) { |
video_send_stream_->Stop(); |
for (FlexfecReceiveStream* flexfec_receive_stream : |
flexfec_receive_streams_) { |
+ for (VideoReceiveStream* video_receive_stream : video_receive_streams_) { |
+ video_receive_stream->RemoveSecondarySink(flexfec_receive_stream); |
+ } |
flexfec_receive_stream->Stop(); |
receiver_call_->DestroyFlexfecReceiveStream(flexfec_receive_stream); |
} |