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

Issue 160620: Fix video sync error when framerate or playback rate is low... (Closed)

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

Description

Fix video sync error when framerate or playback rate is low BUG=18441 TEST=play a low framerate video or under low rate and verify it stays synced Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22683

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 6

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M media/filters/video_renderer_base.cc View 1 2 3 4 5 3 chunks +14 lines, -5 lines 0 comments Download
MM media/filters/video_renderer_base_unittest.cc View 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
kylep
Video stutters a little, but I'll file a bug for that after this gets checked ...
11 years, 4 months ago (2009-08-05 01:12:20 UTC) #1
awong
http://codereview.chromium.org/160620/diff/1/2 File media/filters/video_renderer_base.cc (right): http://codereview.chromium.org/160620/diff/1/2#newcode215 Line 215: // Make sure we're not playing too fast ...
11 years, 4 months ago (2009-08-05 01:18:15 UTC) #2
scherkus (not reviewing)
nice catch! you're touching some of the scariest threading code we have :P http://codereview.chromium.org/160620/diff/1/2 File ...
11 years, 4 months ago (2009-08-05 04:00:35 UTC) #3
kylep
h264 looks great. ogg is still stutters a little, but I think that's related to ...
11 years, 4 months ago (2009-08-05 18:31:59 UTC) #4
scherkus (not reviewing)
LGTM you can also consider pulling the "10" into a constant like kIdleMilliseconds or something ...
11 years, 4 months ago (2009-08-05 19:10:36 UTC) #5
kylep
video_renderer_base_unittest.cc changes turn out to be just cosmetic/svn properties. I had to change where I ...
11 years, 4 months ago (2009-08-05 21:53:56 UTC) #6
scherkus (not reviewing)
LGTM http://codereview.chromium.org/160620/diff/3007/4006 File media/filters/video_renderer_base.cc (right): http://codereview.chromium.org/160620/diff/3007/4006#newcode216 Line 216: // Make sure we're not too far ...
11 years, 4 months ago (2009-08-06 04:14:32 UTC) #7
fbarchard
LGTM I saw this running and it fixes a blatent bug where rate was somewhat ...
11 years, 4 months ago (2009-08-06 04:31:23 UTC) #8
kylep
http://codereview.chromium.org/160620/diff/3007/4006 File media/filters/video_renderer_base.cc (right): http://codereview.chromium.org/160620/diff/3007/4006#newcode201 Line 201: PlatformThread::Sleep(kIdleMilliseconds); On 2009/08/06 04:31:23, fbarchard wrote: > nit ...
11 years, 4 months ago (2009-08-06 17:38:03 UTC) #9
awong
LGTM Did we add a new bug for the lurching?
11 years, 4 months ago (2009-08-06 18:34:41 UTC) #10
scherkus (not reviewing)
If this change causes the lurching in regular videos (i.e., not ogg sync video), can ...
11 years, 4 months ago (2009-08-06 19:16:16 UTC) #11
kylep
11 years, 4 months ago (2009-08-06 19:50:54 UTC) #12
I'm only seeing the lurch on ogg videos.

On Thu, Aug 6, 2009 at 12:16 PM, <scherkus@chromium.org> wrote:

> If this change causes the lurching in regular videos (i.e., not ogg sync
> video), can we debug it a little more?
>
>
> http://codereview.chromium.org/160620
>

Powered by Google App Engine
This is Rietveld 408576698