running_(false),
delay_(0) {
}
- virtual int32_t Version(char* version,
- uint32_t& remaining_buffer_in_bytes,
- uint32_t& position) const {
+ virtual int32_t TimeUntilNextProcess() OVERRIDE {
return 0;
}
- virtual int32_t TimeUntilNextProcess() {
+ virtual int32_t Process() OVERRIDE {
return 0;
}
- virtual int32_t Process() {
- return 0;
- }
- virtual int32_t ChangeUniqueId(const int32_t id) {
+ virtual int32_t ChangeUniqueId(const int32_t id) OVERRIDE {
id_ = id;
return 0;
}
virtual void RegisterCaptureDataCallback(
- webrtc::VideoCaptureDataCallback& callback) {
+ webrtc::VideoCaptureDataCallback& callback) OVERRIDE {
callback_ = &callback;
}
- virtual void DeRegisterCaptureDataCallback() { callback_ = NULL; }
- virtual void RegisterCaptureCallback(webrtc::VideoCaptureFeedBack& callback) {
+ virtual void DeRegisterCaptureDataCallback() OVERRIDE { callback_ = NULL; }
+ virtual void RegisterCaptureCallback(
+ webrtc::VideoCaptureFeedBack& callback) OVERRIDE {
// Not implemented.
}
- virtual void DeRegisterCaptureCallback() {
+ virtual void DeRegisterCaptureCallback() OVERRIDE {
// Not implemented.
}
- virtual void SetCaptureDelay(int32_t delay) { delay_ = delay; }
- virtual int32_t CaptureDelay() { return delay_; }
- virtual void EnableFrameRateCallback(const bool enable) {
+ virtual void SetCaptureDelay(int32_t delay) OVERRIDE { delay_ = delay; }
+ virtual int32_t CaptureDelay() OVERRIDE { return delay_; }
+ virtual void EnableFrameRateCallback(const bool enable) OVERRIDE {
// not implemented
}
- virtual void EnableNoPictureAlarm(const bool enable) {
+ virtual void EnableNoPictureAlarm(const bool enable) OVERRIDE {
// not implemented
}
virtual int32_t StartCapture(
- const webrtc::VideoCaptureCapability& cap) {
+ const webrtc::VideoCaptureCapability& cap) OVERRIDE {
if (running_) return -1;
cap_ = cap;
running_ = true;
return 0;
}
- virtual int32_t StopCapture() {
+ virtual int32_t StopCapture() OVERRIDE {
running_ = false;
return 0;
}
- virtual const char* CurrentDeviceName() const {
+ virtual const char* CurrentDeviceName() const OVERRIDE {
return NULL; // not implemented
}
- virtual bool CaptureStarted() {
+ virtual bool CaptureStarted() OVERRIDE {
return running_;
}
virtual int32_t CaptureSettings(
- webrtc::VideoCaptureCapability& settings) {
+ webrtc::VideoCaptureCapability& settings) OVERRIDE {
if (!running_) return -1;
settings = cap_;
return 0;
}
virtual int32_t SetCaptureRotation(
- webrtc::VideoCaptureRotation rotation) {
+ webrtc::VideoCaptureRotation rotation) OVERRIDE {
return -1; // not implemented
}
virtual VideoCaptureEncodeInterface* GetEncodeInterface(
- const webrtc::VideoCodec& codec) {
+ const webrtc::VideoCodec& codec) OVERRIDE {
return NULL; // not implemented
}
- virtual int32_t AddRef() {
+ virtual int32_t AddRef() OVERRIDE {
return 0;
}
- virtual int32_t Release() {
+ virtual int32_t Release() OVERRIDE {
delete this;
return 0;
}