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

Issue 164032: Disallow setting the rate to values that would cause busy loops (< 1/16x) or ... (Closed)

Created:
11 years, 4 months ago by kylep
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, Alpha Left Google, kylep, awong, darin (slow to review)
Visibility:
Public.

Description

Disallow setting the rate to values that would cause busy loops (< 1/16x) or rendering issues (> 16x) BUG=18362 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23037

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -0 lines) Patch
M webkit/glue/webmediaplayer_impl.cc View 1 2 3 4 2 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
kylep
Frank and I decided on these values. Due to my other patch for muting audio ...
11 years, 4 months ago (2009-08-06 00:24:32 UTC) #1
fbarchard
Just wondering if we should clamp instead? http://codereview.chromium.org/164032/diff/1/2 File webkit/glue/webmediaplayer_impl.cc (right): http://codereview.chromium.org/164032/diff/1/2#newcode255 Line 255: // ...
11 years, 4 months ago (2009-08-06 02:45:23 UTC) #2
darin (slow to review)
magic numbers :( ... can you add a comment explaining how you arrived at these ...
11 years, 4 months ago (2009-08-06 02:53:51 UTC) #3
darin (slow to review)
also, what is the vista issue?-darin On Wed, Aug 5, 2009 at 7:53 PM, Darin ...
11 years, 4 months ago (2009-08-06 02:54:44 UTC) #4
fbarchard1
There are 2 Vista specific issues high speed graphics Vista has substantially lower performance than ...
11 years, 4 months ago (2009-08-06 03:12:13 UTC) #5
scherkus (not reviewing)
thanks for the explanation frank! now we need kyle to use it as a comment ...
11 years, 4 months ago (2009-08-06 03:41:38 UTC) #6
darin (slow to review)
I'm still confused. Chrome rate limits rendering based on calls to the Win32 API RedrawWindow. ...
11 years, 4 months ago (2009-08-06 03:51:22 UTC) #7
Peter Kasting
On Wed, Aug 5, 2009 at 8:11 PM, Frank Barchard <fbarchard@google.com> wrote: > Also our ...
11 years, 4 months ago (2009-08-06 03:57:09 UTC) #8
fbarchard1
On Wed, Aug 5, 2009 at 8:46 PM, Peter Kasting <pkasting@chromium.org> wrote: > On Wed, ...
11 years, 4 months ago (2009-08-06 04:04:25 UTC) #9
scherkus (not reviewing)
On 2009/08/06 03:51:22, darin wrote: > I'm still confused. Chrome rate limits rendering based on ...
11 years, 4 months ago (2009-08-06 04:09:36 UTC) #10
fbarchard1
okay, that blows one theory, so I'm confused too. Here's what I've observed:Vista64 Chrome video ...
11 years, 4 months ago (2009-08-06 04:34:38 UTC) #11
fbarchard1
I'll tried 2, so that we can have one for the UI and one for ...
11 years, 4 months ago (2009-08-06 05:27:26 UTC) #12
fbarchard1
Modified Theory - Kyles code adds latency to audio. On XP audio is lower latency ...
11 years, 4 months ago (2009-08-06 05:57:09 UTC) #13
kylep
I paraphrased Frank's explanation above the constants. Are they in the correct place for this ...
11 years, 4 months ago (2009-08-07 00:03:29 UTC) #14
kylep
Fixed so negative values are ignored instead of clamping to 1/16x. Also changed to allow ...
11 years, 4 months ago (2009-08-10 18:21:28 UTC) #15
scherkus (not reviewing)
http://codereview.chromium.org/164032/diff/21/1009 File media/base/pipeline_impl.cc (left): http://codereview.chromium.org/164032/diff/21/1009#oldcode171 Line 171: if (playback_rate < 0.0f) { this might fail ...
11 years, 4 months ago (2009-08-10 18:25:51 UTC) #16
kylep
http://codereview.chromium.org/164032/diff/21/1009 File media/base/pipeline_impl.cc (left): http://codereview.chromium.org/164032/diff/21/1009#oldcode171 Line 171: if (playback_rate < 0.0f) { On 2009/08/10 18:25:51, ...
11 years, 4 months ago (2009-08-10 19:46:29 UTC) #17
scherkus (not reviewing)
11 years, 4 months ago (2009-08-11 00:57:44 UTC) #18
LGTM

Powered by Google App Engine
This is Rietveld 408576698