Add 5-argument wrapper WebRtcVideoFrame::InitToBlack

For some reason, inheriting it doesn't work.

BUG=webrtc:5426
R=perkj@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11290}
This commit is contained in:
Niels Möller 2016-01-18 15:24:48 +01:00
parent d1420673e3
commit f5a3a93d26

View File

@ -73,6 +73,9 @@ class WebRtcVideoFrame : public VideoFrame {
}
bool InitToBlack(int w, int h, int64_t time_stamp_ns) override;
// Needed to inherit the InitToBlack wrapper method with 5
// arguments.
using VideoFrame::InitToBlack;
// From base class VideoFrame.
bool Reset(uint32_t format,