|
Remove cricket::VideoFrame::Set/GetElapsedTime()
This CL is a baby step towards consolidating the timestamps in cricket::VideoFrame and webrtc::VideoFrame, so that we can unify the frame classes in the future.
The elapsed time functionality is not really used. If a video sink wants to know the elapsed time since the first frame they can store the first timestamp themselves and calculate the time delta to later frames. This is already done in all video sinks that need the elapsed time. Having redundant timestamps in the frame classes is confusing and error prone.
TBR=pthatcher@webrtc.org
Committed: https://crrev.com/b09b660c53ff2c499d149e05e5c435f5057273fc
Cr-Commit-Position: refs/heads/master@{#10131}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+66 lines, -124 lines) |
Patch |
|
M |
talk/app/webrtc/androidvideocapturer.cc
|
View
|
1
|
5 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/objc/avfoundationvideocapturer.mm
|
View
|
1
|
3 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
talk/app/webrtc/videotrack_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
talk/media/base/fakevideocapturer.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
talk/media/base/fakevideorenderer.h
|
View
|
|
4 chunks |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
talk/media/base/videocapturer.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
talk/media/base/videocapturer.cc
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
talk/media/base/videocapturer_unittest.cc
|
View
|
1
|
3 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
talk/media/base/videoframe.h
|
View
|
|
5 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
|
M |
talk/media/base/videoframe.cc
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
talk/media/base/videoframe_unittest.h
|
View
|
|
22 chunks |
+25 lines, -28 lines |
0 comments
|
Download
|
|
M |
talk/media/base/videoframefactory.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
talk/media/devices/filevideocapturer.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
talk/media/devices/filevideocapturer.cc
|
View
|
1
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
talk/media/webrtc/webrtcvideocapturer.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
talk/media/webrtc/webrtcvideoengine2.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
talk/media/webrtc/webrtcvideoengine2_unittest.cc
|
View
|
1
|
4 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
talk/media/webrtc/webrtcvideoframe.h
|
View
|
1
|
5 chunks |
+5 lines, -10 lines |
0 comments
|
Download
|
|
M |
talk/media/webrtc/webrtcvideoframe.cc
|
View
|
1
|
9 chunks |
+14 lines, -19 lines |
0 comments
|
Download
|
|
M |
talk/media/webrtc/webrtcvideoframe_unittest.cc
|
View
|
|
5 chunks |
+3 lines, -11 lines |
0 comments
|
Download
|
|
M |
talk/media/webrtc/webrtcvideoframefactory_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 24 (13 generated)
|