Skip to content

Commit

Permalink
対応が不足していた
Browse files Browse the repository at this point in the history
  • Loading branch information
torikizi committed Oct 2, 2024
1 parent 72f2a91 commit 7e69acb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hwenc_v4l2/v4l2_h264_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ int32_t V4L2H264Encoder::SendFrame(const webrtc::VideoFrame& frame,
encoded_image_._encodedHeight = frame.height();
encoded_image_.capture_time_ms_ = frame.render_time_ms();
encoded_image_.ntp_time_ms_ = frame.ntp_time_ms();
encoded_image_.SetRtpTimestamp(frame.timestamp());
encoded_image_.SetRtpTimestamp(frame.rtp_timestamp());
encoded_image_.rotation_ = frame.rotation();
encoded_image_.SetColorSpace(frame.color_space());
encoded_image_._frameType = is_key_frame
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ int32_t NvCodecVideoEncoderImpl::Encode(
? webrtc::VideoContentType::SCREENSHARE
: webrtc::VideoContentType::UNSPECIFIED;
encoded_image_.timing_.flags = webrtc::VideoSendTiming::kInvalid;
encoded_image_.SetRtpTimestamp(frame.timestamp());
encoded_image_.SetRtpTimestamp(frame.rtp_timestamp());
encoded_image_.ntp_time_ms_ = frame.ntp_time_ms();
encoded_image_.capture_time_ms_ = frame.render_time_ms();
encoded_image_.rotation_ = frame.rotation();
Expand Down

0 comments on commit 7e69acb

Please sign in to comment.