Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Unified Diff: webrtc/media/base/videoframefactory.cc

Issue 2088953002: Add cricket::VideoFrame::frame_id() and set it to RTP timestamp. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/media/base/videoframefactory.cc
diff --git a/webrtc/media/base/videoframefactory.cc b/webrtc/media/base/videoframefactory.cc
index 7b89ad6315b04f0fed064621fed769671d4d82e7..d14530cdd5e01e18f73e74aa9e5493c480d1cbca 100644
--- a/webrtc/media/base/videoframefactory.cc
+++ b/webrtc/media/base/videoframefactory.cc
@@ -44,7 +44,8 @@ VideoFrame* VideoFrameFactory::CreateAliasedFrame(
scaled_buffer->CropAndScaleFrom(cropped_input_frame->video_frame_buffer());
return new WebRtcVideoFrame(scaled_buffer, cropped_input_frame->rotation(),
- cropped_input_frame->timestamp_us());
+ cropped_input_frame->timestamp_us(),
+ cropped_input_frame->frame_id());
}
} // namespace cricket

Powered by Google App Engine
This is Rietveld 408576698