Index: talk/media/base/capturemanager.cc |
diff --git a/talk/media/base/capturemanager.cc b/talk/media/base/capturemanager.cc |
index d3b3f82b556462685daed4b65553d849b1a3ae06..0e67692b6dad2b9a9c596cf41383207f9d36139c 100644 |
--- a/talk/media/base/capturemanager.cc |
+++ b/talk/media/base/capturemanager.cc |
@@ -30,7 +30,6 @@ |
#include <algorithm> |
#include "talk/media/base/videocapturer.h" |
-#include "talk/media/base/videoprocessor.h" |
#include "talk/media/base/videorenderer.h" |
#include "webrtc/base/checks.h" |
#include "webrtc/base/logging.h" |
@@ -314,31 +313,6 @@ bool CaptureManager::RemoveVideoRenderer(VideoCapturer* video_capturer, |
return adapter->RemoveRenderer(video_renderer); |
} |
-bool CaptureManager::AddVideoProcessor(VideoCapturer* video_capturer, |
- VideoProcessor* video_processor) { |
- DCHECK(thread_checker_.CalledOnValidThread()); |
- if (!video_capturer || !video_processor) { |
- return false; |
- } |
- if (!IsCapturerRegistered(video_capturer)) { |
- return false; |
- } |
- video_capturer->AddVideoProcessor(video_processor); |
- return true; |
-} |
- |
-bool CaptureManager::RemoveVideoProcessor(VideoCapturer* video_capturer, |
- VideoProcessor* video_processor) { |
- DCHECK(thread_checker_.CalledOnValidThread()); |
- if (!video_capturer || !video_processor) { |
- return false; |
- } |
- if (!IsCapturerRegistered(video_capturer)) { |
- return false; |
- } |
- return video_capturer->RemoveVideoProcessor(video_processor); |
-} |
- |
bool CaptureManager::IsCapturerRegistered(VideoCapturer* video_capturer) const { |
DCHECK(thread_checker_.CalledOnValidThread()); |
return GetCaptureState(video_capturer) != NULL; |