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

Issue 9295020: Fix ChunkDemuxer seek deadlock (Closed)

Created:
8 years, 11 months ago by acolwell GONE FROM CHROMIUM
Modified:
8 years, 10 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, acolwell+watch_chromium.org, annacc+watch_chromium.org, vrk (LEFT CHROMIUM), ihf+watch_chromium.org
Visibility:
Public.

Description

Fix ChunkDemuxer seek deadlock BUG=109879 TEST=PipelineIntegrationTest.ChunkDemuxerAbortRead_*,FFmpegAudioDecoderTest.AbortRead, AudioRendererBaseTest.AbortPendingRead_* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=119851

Patch Set 1 #

Patch Set 2 : _ #

Total comments: 49

Patch Set 3 : Address CR comments and added VideoRendererBase & FFmpegVideoDecoder unit tests. #

Total comments: 28

Patch Set 4 : Addressing more CR comments #

Total comments: 10

Patch Set 5 : Fix paint callback flakiness in VideoRendererBase unittests. #

Patch Set 6 : Rebase #

Patch Set 7 : Fix copyright year. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+557 lines, -129 lines) Patch
M media/base/demuxer_stream.h View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M media/base/filters.h View 1 2 2 chunks +7 lines, -2 lines 0 comments Download
M media/filters/audio_renderer_base.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M media/filters/audio_renderer_base.cc View 1 2 3 4 chunks +39 lines, -33 lines 0 comments Download
M media/filters/audio_renderer_base_unittest.cc View 1 2 3 6 chunks +64 lines, -0 lines 0 comments Download
M media/filters/chunk_demuxer.cc View 1 2 3 11 chunks +153 lines, -66 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_audio_decoder_unittest.cc View 1 chunk +16 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 2 3 4 5 8 chunks +133 lines, -7 lines 0 comments Download
M media/filters/video_renderer_base.cc View 1 2 3 2 chunks +12 lines, -2 lines 0 comments Download
M media/filters/video_renderer_base_unittest.cc View 1 2 3 4 10 chunks +85 lines, -14 lines 0 comments Download
M media/webm/webm_cluster_parser.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
acolwell GONE FROM CHROMIUM
I don't have the FFmpegVideoDecoder & VideoRendererBase tests finished yet, but I wanted to get ...
8 years, 11 months ago (2012-01-27 20:12:16 UTC) #1
scherkus (not reviewing)
drive by: is it possible to get a layout test written that triggers the deadlock?
8 years, 11 months ago (2012-01-27 22:02:17 UTC) #2
acolwell GONE FROM CHROMIUM
On 2012/01/27 22:02:17, scherkus wrote: > drive by: is it possible to get a layout ...
8 years, 11 months ago (2012-01-27 22:03:41 UTC) #3
scherkus (not reviewing)
On 2012/01/27 22:03:41, acolwell wrote: > On 2012/01/27 22:02:17, scherkus wrote: > > drive by: ...
8 years, 11 months ago (2012-01-27 22:05:39 UTC) #4
Ami GONE FROM CHROMIUM
On 2012/01/27 22:02:17, scherkus wrote: > drive by: is it possible to get a layout ...
8 years, 11 months ago (2012-01-27 22:06:21 UTC) #5
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/9295020/diff/2001/media/base/filters.h File media/base/filters.h (right): http://codereview.chromium.org/9295020/diff/2001/media/base/filters.h#newcode141 media/base/filters.h:141: // An aborted read indicates a seek will likely ...
8 years, 11 months ago (2012-01-27 23:44:58 UTC) #6
Ami GONE FROM CHROMIUM
> side note: it seems that as the age of a new class approaches infinity ...
8 years, 11 months ago (2012-01-27 23:47:05 UTC) #7
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/9295020/diff/2001/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc (right): https://chromiumcodereview.appspot.com/9295020/diff/2001/media/filters/chunk_demuxer.cc#newcode52 media/filters/chunk_demuxer.cc:52: PLAYING, Oh, also, PLAYING is a terrible name ;) ...
8 years, 11 months ago (2012-01-28 00:19:59 UTC) #8
acolwell GONE FROM CHROMIUM
Addressed comments and added VideoRendererBase & FFmpegVideoDecoder unit tests. http://codereview.chromium.org/9295020/diff/2001/media/base/filters.h File media/base/filters.h (right): http://codereview.chromium.org/9295020/diff/2001/media/base/filters.h#newcode141 media/base/filters.h:141: ...
8 years, 10 months ago (2012-01-29 03:00:41 UTC) #9
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/9295020/diff/2001/media/filters/pipeline_integration_test.cc File media/filters/pipeline_integration_test.cc (right): http://codereview.chromium.org/9295020/diff/2001/media/filters/pipeline_integration_test.cc#newcode241 media/filters/pipeline_integration_test.cc:241: void TestChunkDemuxerSeekDuringRead(const std::string& filename, On 2012/01/29 03:00:41, acolwell wrote: ...
8 years, 10 months ago (2012-01-29 22:12:38 UTC) #10
acolwell GONE FROM CHROMIUM
http://codereview.chromium.org/9295020/diff/4003/media/filters/audio_renderer_base.cc File media/filters/audio_renderer_base.cc (right): http://codereview.chromium.org/9295020/diff/4003/media/filters/audio_renderer_base.cc#newcode160 media/filters/audio_renderer_base.cc:160: break; On 2012/01/29 22:12:38, Ami Fischman wrote: > s/break/return/ ...
8 years, 10 months ago (2012-01-30 00:14:14 UTC) #11
Ami GONE FROM CHROMIUM
Almost there! http://codereview.chromium.org/9295020/diff/1039/media/filters/audio_renderer_base.cc File media/filters/audio_renderer_base.cc (right): http://codereview.chromium.org/9295020/diff/1039/media/filters/audio_renderer_base.cc#newcode230 media/filters/audio_renderer_base.cc:230: // end of stream or schedule such ...
8 years, 10 months ago (2012-01-30 17:37:42 UTC) #12
acolwell GONE FROM CHROMIUM
Most of the comments are the result of a rebase and I'll address in another ...
8 years, 10 months ago (2012-01-30 22:01:17 UTC) #13
acolwell GONE FROM CHROMIUM
8 years, 10 months ago (2012-01-30 22:01:28 UTC) #14
Ami GONE FROM CHROMIUM
8 years, 10 months ago (2012-01-30 22:08:32 UTC) #15
LGTM

Powered by Google App Engine
This is Rietveld 408576698