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 7257b89b5faa67b55d96ab0d5cd4613ff025074d..cd0a8cd314167d59622de53919fabc0cf3948e9a 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc |
+++ b/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc |
@@ -972,6 +972,7 @@ 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(); |
+ encoded_images_[encoder_idx].content_type_ = input_image.content_type(); |
int qp = -1; |
vpx_codec_control(&encoders_[encoder_idx], VP8E_GET_LAST_QUANTIZER_64, &qp); |
@@ -1279,7 +1280,8 @@ int VP8DecoderImpl::ReturnFrame(const vpx_image_t* img, |
buffer->MutableDataV(), buffer->StrideV(), |
img->d_w, img->d_h); |
- VideoFrame decoded_image(buffer, timestamp, 0, kVideoRotation_0); |
+ VideoFrame decoded_image(buffer, timestamp, 0, kVideoRotation_0, |
+ kVideoContent_Default); |
decoded_image.set_ntp_time_ms(ntp_time_ms); |
decode_complete_callback_->Decoded(decoded_image, rtc::Optional<int32_t>(), |
rtc::Optional<uint8_t>(qp)); |