| 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 84bfafb8b08b10cbbd719a57dedc7e8839bea169..380a202bcbc6e538108c4811e189d4c3208a3883 100644
|
| --- a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc
|
| +++ b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc
|
| @@ -367,6 +367,10 @@ int32_t H264EncoderImpl::Encode(const VideoFrame& input_frame,
|
| encoded_image_.ntp_time_ms_ = input_frame.ntp_time_ms();
|
| encoded_image_.capture_time_ms_ = input_frame.render_time_ms();
|
| encoded_image_.rotation_ = input_frame.rotation();
|
| + if (mode_ == kScreensharing)
|
| + encoded_image_.content_type_ = VideoContentType::kScreenshare;
|
| + else
|
| + encoded_image_.content_type_ = VideoContentType::kDefault;
|
| encoded_image_._frameType = ConvertToVideoFrameType(info.eFrameType);
|
|
|
| // Split encoded image up into fragments. This also updates |encoded_image_|.
|
|
|