Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: webrtc/video_encoder.h

Issue 1426953003: Remove redudant encoder rate calls. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/video_encoder.h
diff --git a/webrtc/video_encoder.h b/webrtc/video_encoder.h
index 609c07391f3e555c6abe74b5be0b197332866748..f255336a25a0c4d7f5e082882d9d218522e53b45 100644
--- a/webrtc/video_encoder.h
+++ b/webrtc/video_encoder.h
@@ -121,9 +121,6 @@ class VideoEncoder {
virtual int32_t SetRates(uint32_t bitrate, uint32_t framerate) = 0;
virtual int32_t SetPeriodicKeyFrames(bool enable) { return -1; }
- virtual int32_t CodecConfigParameters(uint8_t* /*buffer*/, int32_t /*size*/) {
- return -1;
- }
virtual void OnDroppedFrame() {}
virtual int GetTargetFramerate() { return -1; }
virtual bool SupportsNativeHandle() const { return false; }

Powered by Google App Engine
This is Rietveld 408576698