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

Issue 256583006: Fix possible buffer emission during an abort. (Closed)

Created:
6 years, 8 months ago by damienv1
Modified:
6 years, 7 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix possible buffer emission during an abort. From the MSE spec - Reset Parser state: If the append state equals PARSING_MEDIA_SEGMENT and the input buffer contains some complete coded frames, then run the coded frame processing algorithm until all of these complete coded frames have been processed. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268529

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address CR comments. #

Total comments: 7

Patch Set 3 : Address CR comments. #

Total comments: 4

Patch Set 4 : Address CR comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -13 lines) Patch
M content/renderer/media/websourcebuffer_impl.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M media/filters/chunk_demuxer.h View 1 1 chunk +6 lines, -1 line 0 comments Download
M media/filters/chunk_demuxer.cc View 1 4 chunks +24 lines, -6 lines 0 comments Download
M media/filters/chunk_demuxer_unittest.cc View 1 2 2 chunks +61 lines, -1 line 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 2 3 2 chunks +6 lines, -4 lines 0 comments Download
M media/media.gyp View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
damienv1
I don't know what is the expectation if the JS app is doing: 1- append() ...
6 years, 8 months ago (2014-04-25 02:03:22 UTC) #1
wolenetz
On 2014/04/25 02:03:22, damienv1 wrote: > I don't know what is the expectation if the ...
6 years, 8 months ago (2014-04-25 20:56:59 UTC) #2
wolenetz
Thank you for sharing this change out. A few comments from my first pass are ...
6 years, 8 months ago (2014-04-25 21:00:32 UTC) #3
damienv1
Two remarks: - the unit test won't be enabled by default (as the Mpeg2 TS ...
6 years, 7 months ago (2014-05-05 22:39:12 UTC) #4
damienv1
Using the append window does not work with the Mpeg2 TS parser, since the Mpeg2 ...
6 years, 7 months ago (2014-05-05 23:34:06 UTC) #5
wolenetz
acolwell@: Please especially review the media.gyp change. damienv1@: I'm unclear if your message about append ...
6 years, 7 months ago (2014-05-06 00:04:32 UTC) #6
damienv1
The append window issue is not related to the abort() issue. In the Mpeg2 TS ...
6 years, 7 months ago (2014-05-06 00:28:59 UTC) #7
wolenetz
https://codereview.chromium.org/256583006/diff/10001/media/filters/pipeline_integration_test.cc File media/filters/pipeline_integration_test.cc (right): https://codereview.chromium.org/256583006/diff/10001/media/filters/pipeline_integration_test.cc#newcode326 media/filters/pipeline_integration_test.cc:326: chunk_demuxer_->Abort( On 2014/05/06 00:29:00, damienv1 wrote: > On 2014/05/06 ...
6 years, 7 months ago (2014-05-06 00:32:05 UTC) #8
wolenetz
On 2014/05/06 00:32:05, wolenetz wrote: > https://codereview.chromium.org/256583006/diff/10001/media/filters/pipeline_integration_test.cc > File media/filters/pipeline_integration_test.cc (right): > > https://codereview.chromium.org/256583006/diff/10001/media/filters/pipeline_integration_test.cc#newcode326 > ...
6 years, 7 months ago (2014-05-06 00:44:28 UTC) #9
wolenetz
lgtm % nits (I'm sorry, I think we didn't understand each other for the portion ...
6 years, 7 months ago (2014-05-06 00:58:10 UTC) #10
damienv1
https://codereview.chromium.org/256583006/diff/30001/media/filters/pipeline_integration_test.cc File media/filters/pipeline_integration_test.cc (right): https://codereview.chromium.org/256583006/diff/30001/media/filters/pipeline_integration_test.cc#newcode330 media/filters/pipeline_integration_test.cc:330: base::TimeDelta(), kInfiniteDuration(), &timestamp_offset); On 2014/05/06 00:58:11, wolenetz wrote: > ...
6 years, 7 months ago (2014-05-06 01:21:43 UTC) #11
acolwell GONE FROM CHROMIUM
lgtm
6 years, 7 months ago (2014-05-06 01:43:09 UTC) #12
damienv1
The CQ bit was checked by damienv@chromium.org
6 years, 7 months ago (2014-05-06 16:06:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/damienv@chromium.org/256583006/50001
6 years, 7 months ago (2014-05-06 16:07:38 UTC) #14
commit-bot: I haz the power
6 years, 7 months ago (2014-05-06 16:21:19 UTC) #15
Message was sent while issue was closed.
Change committed as 268529

Powered by Google App Engine
This is Rietveld 408576698