Remove old VideoFrame::Reset.

Hopefully all external implementations are updated, I could build
Chromium locally with this patch. This Reset implementation causes (for
some mysterious reason) -WError=overloaded-virtual failures when trying
to build libjingle APKs.

R=guoweis@webrtc.org, magjed@webrtc.org, pthatcher@webrtc.org
BUG=webrtc:2365

Review URL: https://codereview.webrtc.org/1411253002 .

Cr-Commit-Position: refs/heads/master@{#10352}
This commit is contained in:
Peter Boström 2015-10-21 11:54:01 +02:00
parent 3b7c793574
commit b64a32bf25

View File

@ -62,23 +62,6 @@ class VideoFrame {
webrtc::VideoRotation rotation,
bool apply_rotation) = 0;
// TODO(guoweis): Remove this once all external implementations are updated.
virtual bool Reset(uint32_t fourcc,
int w,
int h,
int dw,
int dh,
uint8_t* sample,
size_t sample_size,
size_t pixel_width,
size_t pixel_height,
int64_t time_stamp,
int rotation) {
return Reset(fourcc, w, h, dw, dh, sample, sample_size, pixel_width,
pixel_height, time_stamp,
static_cast<webrtc::VideoRotation>(rotation), true);
}
// Basic accessors.
// Note this is the width and height without rotation applied.
virtual size_t GetWidth() const = 0;