| Index: webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc
|
| diff --git a/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc b/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc
|
| index 41fd7ff3845a8eb91f48fda76f322280f6f1d0dc..e922078217d718985e7f8f6f43147a2a25d7c031 100644
|
| --- a/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc
|
| +++ b/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc
|
| @@ -878,6 +878,12 @@ int VP8EncoderImpl::GetEncodedPartitions(const VideoFrame& input_image) {
|
| encoded_images_[encoder_idx].capture_time_ms_ =
|
| input_image.render_time_ms();
|
| encoded_images_[encoder_idx].rotation_ = input_image.rotation();
|
| + if (codec_.mode == kScreensharing) {
|
| + encoded_images_[encoder_idx].content_type_ =
|
| + VideoContentType::kScreenshare;
|
| + } else {
|
| + encoded_images_[encoder_idx].content_type_ = VideoContentType::kDefault;
|
| + }
|
|
|
| int qp = -1;
|
| vpx_codec_control(&encoders_[encoder_idx], VP8E_GET_LAST_QUANTIZER_64, &qp);
|
|
|