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

Unified Diff: webrtc/media/base/videocapturer.h

Issue 1865283002: Use microsecond timestamp in cricket::VideoFrame. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Let VideoCapturer adjust timestamps. Created 4 years, 8 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/videocapturer.h
diff --git a/webrtc/media/base/videocapturer.h b/webrtc/media/base/videocapturer.h
index 270315582a1c1e497be3072eb94e5958aa511457..b0965a559bfed2bc022d217b995804f0a663fad6 100644
--- a/webrtc/media/base/videocapturer.h
+++ b/webrtc/media/base/videocapturer.h
@@ -294,6 +294,10 @@ class VideoCapturer : public sigslot::has_slots<>,
bool enable_video_adapter_;
VideoAdapter video_adapter_;
+ // Same value as input_size_valid_ below, but different locking.
perkj_webrtc 2016/04/08 08:22:49 ?
nisse-webrtc 2016/04/08 09:15:43 Both timestamp_offset_valid and input_size_valid h
+ bool timestamp_offset_valid_ = false;
+ int64_t timestamp_offset_;
+
rtc::CriticalSection frame_stats_crit_;
// The captured frame size before potential adapation.
bool input_size_valid_ GUARDED_BY(frame_stats_crit_) = false;

Powered by Google App Engine
This is Rietveld 408576698