Plumb color space from VP8/VP9/H264 encoder
Bug: None Change-Id: If771d9486bde01d5a2775d904a01ecf3953e75df Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/268944 Commit-Queue: Zhaoliang Ma <zhaoliang.ma@intel.com> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37566}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
c05a1be5b4
commit
e7696f771d
@ -1739,6 +1739,7 @@ void LibvpxVp9Encoder::GetEncodedLayerFrame(const vpx_codec_cx_pkt* pkt) {
|
||||
|
||||
TRACE_COUNTER1("webrtc", "EncodedFrameSize", encoded_image_.size());
|
||||
encoded_image_.SetTimestamp(input_image_->timestamp());
|
||||
encoded_image_.SetColorSpace(input_image_->color_space());
|
||||
encoded_image_._encodedHeight =
|
||||
pkt->data.frame.height[layer_id.spatial_layer_id];
|
||||
encoded_image_._encodedWidth =
|
||||
|
||||
Reference in New Issue
Block a user