Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 9cbc436

Browse files
authored
Set end_of_picture flag for AV1 encoded input. (#666)
1 parent 32d1029 commit 9cbc436

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

talk/owt/sdk/base/customizedvideoencoderproxy.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ int32_t CustomizedVideoEncoderProxy::Encode(
347347
encoded_frame._frameType = encoder_buffer_handle->meta_data_.is_keyframe
348348
? webrtc::VideoFrameType::kVideoFrameKey
349349
: webrtc::VideoFrameType::kVideoFrameDelta;
350+
info.end_of_picture = encoder_buffer_handle->meta_data_.last_fragment;
350351
}
351352
#ifdef WEBRTC_USE_H265
352353
else if (codec_type_ == webrtc::kVideoCodecH265) {

0 commit comments

Comments
 (0)