Index: webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc |
diff --git a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc |
index dbc83f8eeeddc25729ca6d268372701d66d7e153..cdbe6f5ecfe416eedcfae82d09f309cc91729ea7 100644 |
--- a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc |
+++ b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc |
@@ -21,8 +21,8 @@ |
#include "webrtc/base/checks.h" |
#include "webrtc/base/logging.h" |
+#include "webrtc/base/timeutils.h" |
#include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
-#include "webrtc/media/base/mediaconstants.h" |
#include "webrtc/system_wrappers/include/metrics.h" |
namespace webrtc { |
@@ -370,6 +370,7 @@ int32_t H264EncoderImpl::Encode(const VideoFrame& input_frame, |
encoded_image_.content_type_ = (mode_ == kScreensharing) |
? VideoContentType::SCREENSHARE |
: VideoContentType::UNSPECIFIED; |
+ encoded_image_.timing_.is_timing_frame = false; |
encoded_image_._frameType = ConvertToVideoFrameType(info.eFrameType); |
// Split encoded image up into fragments. This also updates |encoded_image_|. |