Delete unused method SetPeriodicKeyFrames.
Keyframe interval is configurable in codec settings, with no need for a setter method to toggle it on or off. Bug: webrtc:8830 Change-Id: Ic20d8829884ed22588f8f8c0cceddd76144a9858 Reviewed-on: https://webrtc-review.googlesource.com/56040 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22280}
This commit is contained in:
@ -79,10 +79,6 @@ int32_t ConfigurableFrameSizeEncoder::SetRateAllocation(
|
||||
return WEBRTC_VIDEO_CODEC_OK;
|
||||
}
|
||||
|
||||
int32_t ConfigurableFrameSizeEncoder::SetPeriodicKeyFrames(bool enable) {
|
||||
return WEBRTC_VIDEO_CODEC_OK;
|
||||
}
|
||||
|
||||
int32_t ConfigurableFrameSizeEncoder::SetFrameSize(size_t size) {
|
||||
RTC_DCHECK_LE(size, max_frame_size_);
|
||||
current_frame_size_ = size;
|
||||
|
||||
@ -42,8 +42,6 @@ class ConfigurableFrameSizeEncoder : public VideoEncoder {
|
||||
int32_t SetRateAllocation(const BitrateAllocation& allocation,
|
||||
uint32_t framerate) override;
|
||||
|
||||
int32_t SetPeriodicKeyFrames(bool enable) override;
|
||||
|
||||
int32_t SetFrameSize(size_t size);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user