Pass on explicit color space for VP8 and H264
Bug: webtc:8651 Change-Id: I9d478e7123e915bff858d725d6008fcfeeb0779d Reviewed-on: https://webrtc-review.googlesource.com/c/114424 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Johannes Kron <kron@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26044}
This commit is contained in:

committed by
Commit Bot

parent
0fcf4b1dbd
commit
a1bec23f6c
@ -502,6 +502,7 @@ int32_t H264EncoderImpl::Encode(const VideoFrame& input_frame,
|
||||
encoded_images_[i].ntp_time_ms_ = input_frame.ntp_time_ms();
|
||||
encoded_images_[i].capture_time_ms_ = input_frame.render_time_ms();
|
||||
encoded_images_[i].rotation_ = input_frame.rotation();
|
||||
encoded_images_[i].SetColorSpace(input_frame.color_space());
|
||||
encoded_images_[i].content_type_ =
|
||||
(codec_.mode == VideoCodecMode::kScreensharing)
|
||||
? VideoContentType::SCREENSHARE
|
||||
|
Reference in New Issue
Block a user