aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cast/standalone_sender/streaming_vp8_encoder.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cast/standalone_sender/streaming_vp8_encoder.cc b/cast/standalone_sender/streaming_vp8_encoder.cc
index 066e37f5..8b8e18dc 100644
--- a/cast/standalone_sender/streaming_vp8_encoder.cc
+++ b/cast/standalone_sender/streaming_vp8_encoder.cc
@@ -226,6 +226,7 @@ void StreamingVp8Encoder::ProcessWorkUnitsUntilTimeToQuit() {
static_cast<WorkUnit&>(work_unit) = std::move(encode_queue_.front());
encode_queue_.pop();
force_key_frame = needs_key_frame_;
+ needs_key_frame_ = false;
target_bitrate = target_bitrate_;
}