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

Issue 2620383005: Treat negative ntp time as unset. (Closed)

Created:
3 years, 11 months ago by nisse-webrtc
Modified:
3 years, 11 months ago
Reviewers:
sprang_webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Treat negative ntp time as unset. The video send pipeline uses the magic value 0 for an unset ntp time. However, the receive pipeline uses the magic value -1 for unset (unclear where, it seems it behaved differently a few months ago). This makes cl https://codereview.webrtc.org/2469993003/ fail the P2PTestConductor.ForwardVideoOnlyStream, because that cl removes code which always clears the ntp time, and enables propagation of ntp time from the receive pipeline to the send pipeline. Treating ntp time <= 0 as unset is a small improvement. Ultimately, a VideoFrame shouldn't carry an ntp time at all. BUG=webrtc:5740, webrtc:6977 Review-Url: https://codereview.webrtc.org/2620383005 Cr-Commit-Position: refs/heads/master@{#16035} Committed: https://chromium.googlesource.com/external/webrtc/+/891419f8e8a1b0fa2d53c887a033693652ff7d28

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M webrtc/video/vie_encoder.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
nisse-webrtc
PTAL. Per's refactoring cl depends on this fix.
3 years, 11 months ago (2017-01-12 13:48:28 UTC) #2
sprang_webrtc
Looks good, but could you add a unit test for this as well?
3 years, 11 months ago (2017-01-12 14:18:43 UTC) #3
nisse-webrtc
On 2017/01/12 14:18:43, språng wrote: > Looks good, but could you add a unit test ...
3 years, 11 months ago (2017-01-12 14:27:08 UTC) #4
sprang_webrtc
I'm not familiar with ForwardVideoOnlyStream, but I'll trust you if you say there's coverage already. ...
3 years, 11 months ago (2017-01-12 15:00:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2620383005/1
3 years, 11 months ago (2017-01-12 15:31:18 UTC) #7
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 18:02:28 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/webrtc/+/891419f8e8a1b0fa2d53c887a...

Powered by Google App Engine
This is Rietveld 408576698