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

Issue 516783002: Drop back to back frames in VideoFrameResolutionAdapter::MaybeDropFrame. (Closed)

Created:
6 years, 3 months ago by perkj_chrome
Modified:
6 years, 3 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Drop back to back frames in VideoFrameResolutionAdapter::MaybeDropFrame. We have observed on some Mac that video frames are delivered back to back from the build in video capture device. This can potentially happen on all platforms. If that happen, the simple filter used for frame rate calculation get scewed. This cl fix that by dropping all frames received within 5ms of the previous frame. BUG=394315 Committed: https://crrev.com/2924f310947b5a091390a6c06b37f7796bee47e7 Cr-Commit-Position: refs/heads/master@{#292361}

Patch Set 1 : #

Patch Set 2 : Renamed kMinTimeInMsBetweenFrames #

Total comments: 2

Patch Set 3 : Addressed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -3 lines) Patch
M content/renderer/media/video_track_adapter.cc View 1 2 2 chunks +20 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
perkj_chrome
Patchset #1 (id:1) has been deleted
6 years, 3 months ago (2014-08-28 06:48:03 UTC) #1
perkj_chrome
perkj@chromium.org changed reviewers: + mcasas@chromium.org
6 years, 3 months ago (2014-08-28 06:51:32 UTC) #2
perkj_chrome
Can you help verify this fix and review it?
6 years, 3 months ago (2014-08-28 06:51:33 UTC) #3
perkj_chrome
perkj@chromium.org changed reviewers: + tommi@chromium.org
6 years, 3 months ago (2014-08-28 07:40:33 UTC) #4
perkj_chrome
Tommi, can you please review as well?
6 years, 3 months ago (2014-08-28 07:40:33 UTC) #5
mcasas
LGTM with nit. Will verify during the day, anyway this is basically what we did ...
6 years, 3 months ago (2014-08-28 08:26:40 UTC) #6
tommi (sloooow) - chröme
lgtm % please update comment. https://codereview.chromium.org/516783002/diff/40001/content/renderer/media/video_track_adapter.cc File content/renderer/media/video_track_adapter.cc (right): https://codereview.chromium.org/516783002/diff/40001/content/renderer/media/video_track_adapter.cc#newcode236 content/renderer/media/video_track_adapter.cc:236: // anyway so therefore ...
6 years, 3 months ago (2014-08-28 09:01:39 UTC) #7
tommi (sloooow) - chröme
On 2014/08/28 09:01:39, tommi wrote: > lgtm % please update comment. > > https://codereview.chromium.org/516783002/diff/40001/content/renderer/media/video_track_adapter.cc > ...
6 years, 3 months ago (2014-08-28 09:06:00 UTC) #8
perkj_chrome
The CQ bit was checked by perkj@chromium.org
6 years, 3 months ago (2014-08-28 10:05:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/perkj@chromium.org/516783002/60001
6 years, 3 months ago (2014-08-28 10:05:35 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:60001) as b51b9257169dbda090cc43c29a77dbb88c56c643
6 years, 3 months ago (2014-08-28 11:01:25 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:58:53 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2924f310947b5a091390a6c06b37f7796bee47e7
Cr-Commit-Position: refs/heads/master@{#292361}

Powered by Google App Engine
This is Rietveld 408576698