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

Issue 1142723002: Drop frames less than a millisecond apart in media time. (Closed)

Created:
5 years, 7 months ago by DaleCurtis
Modified:
5 years, 7 months ago
Reviewers:
xhwang
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Drop frames less than a millisecond apart in media time. Our rendering path has no reasonable expectation of being able to render 1000fps content, so these are bad timestamps that end up wrecking assumptions throughout the rendering pathway. Instead of trying to guard against these frames everywhere, just discard them immediately during enqueue. BUG=488302 TEST=new unittest Committed: https://crrev.com/b5814778060deb32c31605bfe0b82cd2baeae866 Cr-Commit-Position: refs/heads/master@{#330458}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Simplify logic. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -25 lines) Patch
M media/filters/video_renderer_algorithm.cc View 1 1 chunk +22 lines, -17 lines 2 comments Download
M media/filters/video_renderer_algorithm_unittest.cc View 1 3 chunks +27 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
DaleCurtis
5 years, 7 months ago (2015-05-16 01:18:09 UTC) #2
xhwang
Looks pretty good. Just some comments trying to see whether we can make the code ...
5 years, 7 months ago (2015-05-18 17:45:24 UTC) #3
DaleCurtis
https://codereview.chromium.org/1142723002/diff/1/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/1142723002/diff/1/media/filters/video_renderer_algorithm.cc#newcode381 media/filters/video_renderer_algorithm.cc:381: << "recently received frame."; On 2015/05/18 17:45:24, xhwang wrote: ...
5 years, 7 months ago (2015-05-18 23:17:14 UTC) #4
xhwang
LGTM with a tiny nit! https://codereview.chromium.org/1142723002/diff/20001/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/1142723002/diff/20001/media/filters/video_renderer_algorithm.cc#newcode389 media/filters/video_renderer_algorithm.cc:389: << delta.InMicroseconds() << " ...
5 years, 7 months ago (2015-05-18 23:27:04 UTC) #5
DaleCurtis
https://codereview.chromium.org/1142723002/diff/20001/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/1142723002/diff/20001/media/filters/video_renderer_algorithm.cc#newcode389 media/filters/video_renderer_algorithm.cc:389: << delta.InMicroseconds() << " us"; On 2015/05/18 23:27:04, xhwang ...
5 years, 7 months ago (2015-05-18 23:32:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1142723002/20001
5 years, 7 months ago (2015-05-18 23:33:50 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-05-19 00:30:19 UTC) #9
commit-bot: I haz the power
5 years, 7 months ago (2015-05-19 00:31:07 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b5814778060deb32c31605bfe0b82cd2baeae866
Cr-Commit-Position: refs/heads/master@{#330458}

Powered by Google App Engine
This is Rietveld 408576698