Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3448)

Unified Diff: webrtc/modules/video_coding/codecs/test/videoprocessor.cc

Issue 2741953002: Step #4: Run VideoProcessor integration test batch mode on task queue. (Closed)
Patch Set: Rebase. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/video_coding/codecs/test/videoprocessor.cc
diff --git a/webrtc/modules/video_coding/codecs/test/videoprocessor.cc b/webrtc/modules/video_coding/codecs/test/videoprocessor.cc
index 129f962ba489965919d3f1d81e59370c565d6dfe..e3f0e674b420a76c865b41fb44641d444a721869 100644
--- a/webrtc/modules/video_coding/codecs/test/videoprocessor.cc
+++ b/webrtc/modules/video_coding/codecs/test/videoprocessor.cc
@@ -158,6 +158,8 @@ VideoProcessorImpl::VideoProcessorImpl(webrtc::VideoEncoder* encoder,
frame_infos_.reserve(num_frames_);
}
+VideoProcessorImpl::~VideoProcessorImpl() = default;
+
bool VideoProcessorImpl::Init() {
RTC_DCHECK(!initialized_)
<< "This VideoProcessor has already been initialized.";
@@ -203,7 +205,7 @@ bool VideoProcessorImpl::Init() {
return true;
}
-VideoProcessorImpl::~VideoProcessorImpl() {
+void VideoProcessorImpl::DeregisterCallbacks() {
encoder_->RegisterEncodeCompleteCallback(nullptr);
brandtr 2017/03/10 09:50:54 Must be called on the task queue.
tommi 2017/03/10 09:57:12 as a drive by comment, there aren't any thread or
decoder_->RegisterDecodeCompleteCallback(nullptr);
}

Powered by Google App Engine
This is Rietveld 408576698