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

Issue 10835044: Cancel pending seek in ChunkDemuxer when a new seek occurs (Closed)

Created:
8 years, 4 months ago by vrk (LEFT CHROMIUM)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Cancel pending seek in ChunkDemuxer when a new seek occurs This makes it so playback doesn't stall if one seeks into an unbuffered region then seeks back into a buffered region. BUG=132935 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150489

Patch Set 1 #

Patch Set 2 : rebase ToT + fix threading issue #

Total comments: 4

Patch Set 3 : response to CR #

Total comments: 4

Patch Set 4 : response to CR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -0 lines) Patch
M media/filters/chunk_demuxer.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/chunk_demuxer.cc View 1 2 3 6 chunks +39 lines, -0 lines 0 comments Download
M media/filters/chunk_demuxer_unittest.cc View 1 2 2 chunks +81 lines, -0 lines 0 comments Download
M webkit/media/webmediaplayer_impl.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M webkit/media/webmediaplayer_proxy.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webkit/media/webmediaplayer_proxy.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
vrk (LEFT CHROMIUM)
8 years, 4 months ago (2012-07-30 21:08:16 UTC) #1
vrk (LEFT CHROMIUM)
PTAL! The threading bug in the last CL was easily reproducible by adding a sleep() ...
8 years, 4 months ago (2012-08-07 19:59:51 UTC) #2
acolwell GONE FROM CHROMIUM
Looks pretty good to me. Tests? http://codereview.chromium.org/10835044/diff/3001/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc (right): http://codereview.chromium.org/10835044/diff/3001/media/filters/chunk_demuxer.cc#newcode297 media/filters/chunk_demuxer.cc:297: ChangeState_Locked(CANCELED); I think ...
8 years, 4 months ago (2012-08-07 20:26:51 UTC) #3
vrk (LEFT CHROMIUM)
Now with tests! https://chromiumcodereview.appspot.com/10835044/diff/3001/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc (right): https://chromiumcodereview.appspot.com/10835044/diff/3001/media/filters/chunk_demuxer.cc#newcode297 media/filters/chunk_demuxer.cc:297: ChangeState_Locked(CANCELED); On 2012/08/07 20:26:51, acolwell wrote: ...
8 years, 4 months ago (2012-08-07 22:44:51 UTC) #4
acolwell GONE FROM CHROMIUM
LGTM % nits https://chromiumcodereview.appspot.com/10835044/diff/1007/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc (right): https://chromiumcodereview.appspot.com/10835044/diff/1007/media/filters/chunk_demuxer.cc#newcode285 media/filters/chunk_demuxer.cc:285: // Ignore seek requests when cancelled. ...
8 years, 4 months ago (2012-08-07 23:36:11 UTC) #5
vrk (LEFT CHROMIUM)
Thanks for reviewing! https://chromiumcodereview.appspot.com/10835044/diff/1007/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc (right): https://chromiumcodereview.appspot.com/10835044/diff/1007/media/filters/chunk_demuxer.cc#newcode285 media/filters/chunk_demuxer.cc:285: // Ignore seek requests when cancelled. ...
8 years, 4 months ago (2012-08-08 00:01:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vrk@chromium.org/10835044/2003
8 years, 4 months ago (2012-08-08 00:01:34 UTC) #7
commit-bot: I haz the power
8 years, 4 months ago (2012-08-08 03:07:28 UTC) #8
Change committed as 150489

Powered by Google App Engine
This is Rietveld 408576698