webrtc/video
Danil Chapovalov 2f2049af23 Add blocking call in BandwidthStatsTest destructor
task_queue_ outlives the BandwidthStatsTest object, but Posted task
captures |this|. Blocking call in the destructor is a simple way to avoid
that race
(should work as long as posted task doesn't call virtual functions from |this|).

Bug: webrtc:10933
Change-Id: Id30badb711480af5ee737b96b9224c1a73e730ee
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/158898
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29707}
2019-11-06 13:38:14 +00:00
..
end_to_end_tests Add blocking call in BandwidthStatsTest destructor 2019-11-06 13:38:14 +00:00
test Connect the stable target rate to the video encoders 2019-09-09 15:06:51 +00:00
buffered_frame_decryptor.cc Reland "Refactor FrameDecryptorInterface::Decrypt to use new API." 2019-04-09 20:08:56 +00:00
buffered_frame_decryptor.h Include module_common_types.h only where needed 2019-09-24 08:22:38 +00:00
buffered_frame_decryptor_unittest.cc change PacketBuffer to return it's result rather that use callback 2019-10-23 16:50:57 +00:00
BUILD.gn Avoid DEPRECATED_SingleThreadedTaskQueueForTesting::CancelTask in VideoAnalyzer 2019-10-21 12:51:57 +00:00
call_stats.cc Enable thread check in Call::GetStats(). 2019-08-09 11:43:16 +00:00
call_stats.h Include module_common_types.h only where needed 2019-09-24 08:22:38 +00:00
call_stats_unittest.cc Fix CallStatsUnittests to update the RTT on the process thread (as in production). 2019-08-06 08:46:48 +00:00
cpu_scaling_tests.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
DEPS Delete interface class VideoCaptureExternal 2019-04-09 08:18:20 +00:00
encoder_bitrate_adjuster.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
encoder_bitrate_adjuster.h Allow encoder target bitrate to reach media rate if there is headroom. 2019-04-15 15:11:39 +00:00
encoder_bitrate_adjuster_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
encoder_overshoot_detector.cc Track both "network" and "media" rate in EncoderOvershootDetector 2019-04-01 13:10:49 +00:00
encoder_overshoot_detector.h Track both "network" and "media" rate in EncoderOvershootDetector 2019-04-01 13:10:49 +00:00
encoder_overshoot_detector_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
encoder_rtcp_feedback.cc Translate loss notifications and pass to encoder 2019-04-10 15:31:53 +00:00
encoder_rtcp_feedback.h Move MediaTransportInterface out of the libjingle_peerconnection_api target 2019-09-13 10:49:56 +00:00
encoder_rtcp_feedback_unittest.cc Fully qualify googletest symbols. 2019-04-09 17:18:20 +00:00
frame_dumping_decoder.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
frame_dumping_decoder.h Simplify the VideoFrameDumpingDecoder API. 2019-08-21 09:49:02 +00:00
frame_encode_metadata_writer.cc Reland "Delete methods EncodedImage::Allocate and EncodedImageBufferInterface::Realloc" 2019-10-18 11:34:48 +00:00
frame_encode_metadata_writer.h Add plumbing of RtpPacketInfos to each VideoFrame as input for SourceTracker. 2019-06-20 10:24:29 +00:00
frame_encode_metadata_writer_unittest.cc Add plumbing of RtpPacketInfos to each VideoFrame as input for SourceTracker. 2019-06-20 10:24:29 +00:00
full_stack_tests.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
full_stack_tests_plot.py Fixing py lint errors 2018-07-23 15:28:48 +00:00
overuse_frame_detector.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
overuse_frame_detector.h Add configuration of new cpu load estimator via field trials. 2019-04-25 09:26:04 +00:00
overuse_frame_detector_unittest.cc Merge SendTask implementation for SingleThreadedTaskQueueForTesting and TaskQueueForTest 2019-10-15 09:17:36 +00:00
OWNERS Make ilnik@ owner in video/ and modules/video_coding/ 2018-09-11 12:39:39 +00:00
pc_full_stack_tests.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
picture_id_tests.cc Hide deprecated SingleThreadedTaskQueueForTest behind an accessor 2019-10-22 11:57:49 +00:00
quality_limitation_reason_tracker.cc Implement QualityLimitationReasonTracker and expose "reason". 2019-05-28 16:23:55 +00:00
quality_limitation_reason_tracker.h Add qualityLimitationResolutionChanges stat 2019-09-09 15:22:57 +00:00
quality_limitation_reason_tracker_unittest.cc Always pass arguments to INSTANTIATE_TEST_SUITE_P. 2019-09-30 12:52:07 +00:00
quality_scaling_tests.cc Reland "Fix LibvpxVp8Encoder::FrameDropThreshold" 2019-03-11 13:37:38 +00:00
quality_threshold.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
quality_threshold.h Remove clang:find_bad_constructs suppression from call:call. 2018-08-29 11:57:00 +00:00
quality_threshold_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
receive_statistics_proxy.cc Add estimatedPlayoutTimestamp to RTCInboundRTPStreamStats. 2019-10-23 07:46:39 +00:00
receive_statistics_proxy.h Add estimatedPlayoutTimestamp to RTCInboundRTPStreamStats. 2019-10-23 07:46:39 +00:00
receive_statistics_proxy_unittest.cc Add estimatedPlayoutTimestamp to RTCInboundRTPStreamStats. 2019-10-23 07:46:39 +00:00
report_block_stats.cc Simplify ReportBlockStats 2019-08-01 14:09:23 +00:00
report_block_stats.h Simplify ReportBlockStats 2019-08-01 14:09:23 +00:00
report_block_stats_unittest.cc ReportBlockStatsTest: Remove usage of RTCPReportBlock (no longer used). 2019-08-02 08:58:36 +00:00
rtp_streams_synchronizer.cc Add estimatedPlayoutTimestamp to RTCInboundRTPStreamStats. 2019-10-23 07:46:39 +00:00
rtp_streams_synchronizer.h Add estimatedPlayoutTimestamp to RTCInboundRTPStreamStats. 2019-10-23 07:46:39 +00:00
rtp_video_stream_receiver.cc Split out counting unique rtp timestamps from packet_buffer 2019-10-30 15:27:48 +00:00
rtp_video_stream_receiver.h Split out counting unique rtp timestamps from packet_buffer 2019-10-30 15:27:48 +00:00
rtp_video_stream_receiver_unittest.cc Pass full RtpPacket to RtpVideoStreamReceiver::OnReceivedPayload 2019-10-17 14:48:32 +00:00
screenshare_loopback.cc Remove api/bitrate_constraints.h. 2019-09-18 06:37:58 +00:00
send_delay_stats.cc Stop using LOG macros in favor of RTC_ prefixed macros. 2017-11-09 11:56:32 +00:00
send_delay_stats.h Format almost everything. 2019-07-08 13:45:15 +00:00
send_delay_stats_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
send_statistics_proxy.cc Count disabled due to low bw streams or layers as bw limited quality in GetStats 2019-10-09 16:58:34 +00:00
send_statistics_proxy.h Count disabled due to low bw streams or layers as bw limited quality in GetStats 2019-10-09 16:58:34 +00:00
send_statistics_proxy_unittest.cc Count disabled due to low bw streams or layers as bw limited quality in GetStats 2019-10-09 16:58:34 +00:00
stats_counter.cc Make fewer copies when using StringBuilder. 2018-09-24 09:39:19 +00:00
stats_counter.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
stats_counter_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
stream_synchronization.cc Format almost everything. 2019-07-08 13:45:15 +00:00
stream_synchronization.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
stream_synchronization_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
sv_loopback.cc Remove api/bitrate_constraints.h. 2019-09-18 06:37:58 +00:00
transport_adapter.cc Remove clang:find_bad_constructs suppression from call:call. 2018-08-29 11:57:00 +00:00
transport_adapter.h Format almost everything. 2019-07-08 13:45:15 +00:00
video_analyzer.cc Avoid DEPRECATED_SingleThreadedTaskQueueForTesting::CancelTask in VideoAnalyzer 2019-10-21 12:51:57 +00:00
video_analyzer.h Use deprecated SingleThreadedTaskQueueForTesting as regular task queue 2019-10-22 08:34:57 +00:00
video_loopback.cc Remove api/bitrate_constraints.h. 2019-09-18 06:37:58 +00:00
video_loopback.h Rewrite video_loopback to use new mac capturer. 2019-03-06 14:37:33 +00:00
video_loopback_main.cc Rewrite video_loopback to use new mac capturer. 2019-03-06 14:37:33 +00:00
video_loopback_main.mm Rewrite video_loopback to use new mac capturer. 2019-03-06 14:37:33 +00:00
video_quality_observer.cc Tune qp threshold for VP9 blocky video 2019-08-26 12:57:59 +00:00
video_quality_observer.h Get WebRTC.Video.ReceivedPacketsLostInPercent from ReceiveStatistics 2019-08-02 12:38:34 +00:00
video_quality_test.cc Hide deprecated SingleThreadedTaskQueueForTest behind an accessor 2019-10-22 11:57:49 +00:00
video_quality_test.h Propagate task queue to create test::DirectTransport by TaskQueueBase interface 2019-09-30 03:23:07 +00:00
video_receive_stream.cc Add estimatedPlayoutTimestamp to RTCInboundRTPStreamStats. 2019-10-23 07:46:39 +00:00
video_receive_stream.h Add estimatedPlayoutTimestamp to RTCInboundRTPStreamStats. 2019-10-23 07:46:39 +00:00
video_receive_stream_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
video_replay.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
video_send_stream.cc Fix ClangTidy issues in video/ 2019-03-14 08:51:49 +00:00
video_send_stream.h Merge of ThreadChecker and SequencedTaskChecker. 2019-03-29 18:53:27 +00:00
video_send_stream_impl.cc Keep the video send stream alive if the encoder drop frames. 2019-10-31 11:30:47 +00:00
video_send_stream_impl.h Keep the video send stream alive if the encoder drop frames. 2019-10-31 11:30:47 +00:00
video_send_stream_impl_unittest.cc Keep the video send stream alive if the encoder drop frames. 2019-10-31 11:30:47 +00:00
video_send_stream_tests.cc Hide deprecated SingleThreadedTaskQueueForTest behind an accessor 2019-10-22 11:57:49 +00:00
video_stream_decoder.cc New class VideoReceiver2, a trimmed-down vcm::VideoReceiver 2019-09-09 11:23:54 +00:00
video_stream_decoder.h New class VideoReceiver2, a trimmed-down vcm::VideoReceiver 2019-09-09 11:23:54 +00:00
video_stream_decoder_impl.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
video_stream_decoder_impl.h Added functions to control the VideoStreamDecoder playout delay. 2019-06-05 11:58:57 +00:00
video_stream_encoder.cc Keep the video send stream alive if the encoder drop frames. 2019-10-31 11:30:47 +00:00
video_stream_encoder.h Make update_rect optional in VideoFrame 2019-10-30 11:27:54 +00:00
video_stream_encoder_unittest.cc Stop checking VP8BaseHeavyTl3RateAllocation field trial on every frame. 2019-11-04 13:50:59 +00:00