Remove unused FrameGeneratorCapturer::Create signature

Bug: webrtc:7671
Change-Id: I4102d963d5d6867d35172b97c5b3ffff1f00231a
Reviewed-on: https://webrtc-review.googlesource.com/61342
Commit-Queue: Emircan Uysaler <emircan@webrtc.org>
Reviewed-by: Niklas Enbom <niklas.enbom@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22393}
This commit is contained in:
Emircan Uysaler 2018-03-12 14:12:14 -07:00 committed by Commit Bot
parent 9599fd4414
commit 207a75d8f3
3 changed files with 5 additions and 16 deletions

View File

@ -59,8 +59,11 @@ class FrameGenerator {
}
enum class OutputType { I420, I420A };
// Creates a frame generator that produces frames with small squares that
// move randomly towards the lower right corner.
// |type| has the default value OutputType::I420. |num_squares| has the
// default value 10.
static std::unique_ptr<FrameGenerator> CreateSquareGenerator(
int width,
int height,

View File

@ -101,14 +101,6 @@ FrameGeneratorCapturer* FrameGeneratorCapturer::Create(
return capturer.release();
}
FrameGeneratorCapturer* FrameGeneratorCapturer::Create(int width,
int height,
int num_squares,
int target_fps,
Clock* clock) {
return Create(width, height, rtc::nullopt, num_squares, target_fps, clock);
}
FrameGeneratorCapturer* FrameGeneratorCapturer::CreateFromYuvFile(
const std::string& file_name,
size_t width,

View File

@ -41,6 +41,8 @@ class FrameGeneratorCapturer : public VideoCapturer {
virtual ~SinkWantsObserver() {}
};
// |type| has the default value OutputType::I420. |num_squares| has the
// default value 10.
static FrameGeneratorCapturer* Create(
int width,
int height,
@ -49,14 +51,6 @@ class FrameGeneratorCapturer : public VideoCapturer {
int target_fps,
Clock* clock);
// TODO(emircan): Update all clients and delete this function in favor of the
// above Create() signature.
static FrameGeneratorCapturer* Create(int width,
int height,
int num_squares,
int target_fps,
Clock* clock);
static FrameGeneratorCapturer* CreateFromYuvFile(const std::string& file_name,
size_t width,
size_t height,