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

Issue 2035003002: MSE: Signal new coded frame group more aggressively (Closed)

Created:
4 years, 6 months ago by wolenetz
Modified:
4 years, 6 months ago
Reviewers:
chcunningham
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MSE: Signal new coded frame group more aggressively For 'sequence' mode coded frame processing, we may need to signal a new coded frame group because application may override timestampOffset and cause the processed frame sequence to go backwards in time. Jumps forward are allowed and kept within the same coded frame group. Jumps backward are now detected and trigger new coded frame group signalling so the overlap-append logic in SourceBufferStream handles this situation more correctly. TEST=*FrameProcessorTest.AudioVideo_Discontinuity_TimestampOffset*, http/tests/media/media-source/mediasource-crbug-616565.html BUG=616565, 620523 Committed: https://crrev.com/b7982341ce30c1dfb165551b8c641d781eeb0159 Cr-Commit-Position: refs/heads/master@{#400249}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Checkpoint while working on new media_unittest for this (which is currently broken) #

Patch Set 3 : Rebase and includes some (not to be landed) temporary SBS logging #

Total comments: 2

Patch Set 4 : Fixed unit test, referenced in TODO new bug 620523. Layout test forthcoming soon. #

Patch Set 5 : Added layout test #

Total comments: 10

Patch Set 6 : Addressed chcunningham@'s comments from PS5 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -18 lines) Patch
M media/filters/frame_processor.h View 1 1 chunk +11 lines, -5 lines 0 comments Download
M media/filters/frame_processor.cc View 1 2 5 chunks +25 lines, -12 lines 0 comments Download
M media/filters/frame_processor_unittest.cc View 1 2 3 4 5 2 chunks +109 lines, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-sequencemode-crbug-616565.html View 1 2 3 4 1 chunk +71 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (14 generated)
wolenetz
As I mentioned offline, I still need to add some tests demonstrating what was fixed ...
4 years, 6 months ago (2016-06-03 01:30:40 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035003002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2035003002/1
4 years, 6 months ago (2016-06-03 01:33:09 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-03 04:03:47 UTC) #6
chcunningham
Looks good, but needs a unit test. https://codereview.chromium.org/2035003002/diff/1/media/filters/frame_processor.cc File media/filters/frame_processor.cc (right): https://codereview.chromium.org/2035003002/diff/1/media/filters/frame_processor.cc#newcode298 media/filters/frame_processor.cc:298: // sequence ...
4 years, 6 months ago (2016-06-03 22:16:15 UTC) #7
wolenetz
While I continue to work on the tests, please take a look to see if ...
4 years, 6 months ago (2016-06-03 22:43:42 UTC) #8
wolenetz
On 2016/06/03 22:43:42, wolenetz_slow_reviews wrote: > While I continue to work on the tests, please ...
4 years, 6 months ago (2016-06-03 22:46:32 UTC) #9
chcunningham
Comments are great. Will review the tests when you're ready.
4 years, 6 months ago (2016-06-03 23:08:32 UTC) #10
wolenetz
Notes and reference to new bug, based on our discussion today: (I'll update the actual ...
4 years, 6 months ago (2016-06-16 00:45:20 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035003002/80001
4 years, 6 months ago (2016-06-16 02:52:25 UTC) #17
wolenetz
Please take a look. Note, without the fp.cc+fp.h part of this change, the new layout ...
4 years, 6 months ago (2016-06-16 02:55:53 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/128155)
4 years, 6 months ago (2016-06-16 03:50:08 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035003002/80001
4 years, 6 months ago (2016-06-16 17:24:45 UTC) #22
chcunningham
lgtm % nits https://codereview.chromium.org/2035003002/diff/80001/media/filters/frame_processor_unittest.cc File media/filters/frame_processor_unittest.cc (right): https://codereview.chromium.org/2035003002/diff/80001/media/filters/frame_processor_unittest.cc#newcode587 media/filters/frame_processor_unittest.cc:587: // Coded frame processing, even in ...
4 years, 6 months ago (2016-06-16 18:19:49 UTC) #23
wolenetz
Thanks for the review. https://codereview.chromium.org/2035003002/diff/80001/media/filters/frame_processor_unittest.cc File media/filters/frame_processor_unittest.cc (right): https://codereview.chromium.org/2035003002/diff/80001/media/filters/frame_processor_unittest.cc#newcode587 media/filters/frame_processor_unittest.cc:587: // Coded frame processing, even ...
4 years, 6 months ago (2016-06-16 18:59:04 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035003002/100001
4 years, 6 months ago (2016-06-16 19:00:35 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-16 20:23:54 UTC) #29
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 20:26:22 UTC) #31
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b7982341ce30c1dfb165551b8c641d781eeb0159
Cr-Commit-Position: refs/heads/master@{#400249}

Powered by Google App Engine
This is Rietveld 408576698