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

Issue 222783007: Consider text tracks in the frame processor for new media segments. (Closed)

Created:
6 years, 8 months ago by DaleCurtis
Modified:
6 years, 7 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Consider text tracks in the frame processor for new media segments. Text tracks were not considered along with audio and video tracks when determining the media segment start time. This results in Append()s coming in later with timestamps before the segment start time. The issue issue is resolved and a DCHECK() added to SBS::Append() to prevent this from happening in the future. BUG=356805 TEST=media_unittests passes after DCHECK() added to Append(). NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266636

Patch Set 1 #

Total comments: 8

Patch Set 2 : Comments. #

Total comments: 4

Patch Set 3 : Comments. #

Total comments: 2

Patch Set 4 : DCHECK. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -48 lines) Patch
M media/filters/legacy_frame_processor.h View 1 1 chunk +13 lines, -10 lines 0 comments Download
M media/filters/legacy_frame_processor.cc View 1 2 3 5 chunks +64 lines, -38 lines 0 comments Download
M media/filters/source_buffer_stream.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
DaleCurtis
6 years, 8 months ago (2014-04-02 21:40:06 UTC) #1
wolenetz
Thanks for sharing. LegacyFrameProcessor must die.. soon :) First round of my comments: https://codereview.chromium.org/222783007/diff/1/media/filters/legacy_frame_processor.cc File ...
6 years, 8 months ago (2014-04-02 22:54:45 UTC) #2
DaleCurtis
https://codereview.chromium.org/222783007/diff/1/media/filters/legacy_frame_processor.cc File media/filters/legacy_frame_processor.cc (right): https://codereview.chromium.org/222783007/diff/1/media/filters/legacy_frame_processor.cc#newcode94 media/filters/legacy_frame_processor.cc:94: if (itr->second->stream()->type() != DemuxerStream::TEXT) On 2014/04/02 22:54:45, wolenetz wrote: ...
6 years, 8 months ago (2014-04-02 23:02:26 UTC) #3
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/222783007/diff/1/media/filters/legacy_frame_processor.cc File media/filters/legacy_frame_processor.cc (right): https://codereview.chromium.org/222783007/diff/1/media/filters/legacy_frame_processor.cc#newcode94 media/filters/legacy_frame_processor.cc:94: if (itr->second->stream()->type() != DemuxerStream::TEXT) On 2014/04/02 23:02:27, DaleCurtis wrote: ...
6 years, 8 months ago (2014-04-03 00:26:52 UTC) #4
DaleCurtis
Comments addressed. PTAL. https://codereview.chromium.org/222783007/diff/1/media/filters/legacy_frame_processor.cc File media/filters/legacy_frame_processor.cc (right): https://codereview.chromium.org/222783007/diff/1/media/filters/legacy_frame_processor.cc#newcode94 media/filters/legacy_frame_processor.cc:94: if (itr->second->stream()->type() != DemuxerStream::TEXT) On 2014/04/03 ...
6 years, 8 months ago (2014-04-08 20:42:30 UTC) #5
acolwell GONE FROM CHROMIUM
lgtm % nits https://codereview.chromium.org/222783007/diff/20001/media/filters/legacy_frame_processor.cc File media/filters/legacy_frame_processor.cc (right): https://codereview.chromium.org/222783007/diff/20001/media/filters/legacy_frame_processor.cc#newcode111 media/filters/legacy_frame_processor.cc:111: nit: Please add DCHECK(segment_timestamp != kInfiniteDuration()) ...
6 years, 8 months ago (2014-04-11 18:02:00 UTC) #6
DaleCurtis
wolenetz: Any other comments? https://codereview.chromium.org/222783007/diff/20001/media/filters/legacy_frame_processor.cc File media/filters/legacy_frame_processor.cc (right): https://codereview.chromium.org/222783007/diff/20001/media/filters/legacy_frame_processor.cc#newcode111 media/filters/legacy_frame_processor.cc:111: On 2014/04/11 18:02:00, acolwell wrote: ...
6 years, 8 months ago (2014-04-11 20:35:11 UTC) #7
wolenetz
lgtm & nits: nit: Description references a two-part problem, one being an incorrect calculation in ...
6 years, 8 months ago (2014-04-14 21:41:15 UTC) #8
wolenetz
On 2014/04/14 21:41:15, wolenetz wrote: > lgtm & nits: > > nit: Description references a ...
6 years, 8 months ago (2014-04-14 21:41:24 UTC) #9
DaleCurtis
Added the DCHECK() and fixed the description, but the recent DefaultDuration change by sergeyu@ is ...
6 years, 8 months ago (2014-04-14 22:11:51 UTC) #10
wolenetz
On 2014/04/14 22:11:51, DaleCurtis wrote: > Added the DCHECK() and fixed the description, but the ...
6 years, 8 months ago (2014-04-14 23:03:04 UTC) #11
wolenetz
On 2014/04/14 23:03:04, wolenetz wrote: > On 2014/04/14 22:11:51, DaleCurtis wrote: > > Added the ...
6 years, 8 months ago (2014-04-15 23:37:22 UTC) #12
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 7 months ago (2014-04-28 16:16:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/222783007/60001
6 years, 7 months ago (2014-04-28 16:17:32 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 17:05:47 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 7 months ago (2014-04-28 17:05:49 UTC) #16
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 7 months ago (2014-04-28 17:12:41 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/222783007/60001
6 years, 7 months ago (2014-04-28 17:13:16 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 17:16:25 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 7 months ago (2014-04-28 17:16:25 UTC) #20
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 7 months ago (2014-04-28 17:25:31 UTC) #21
DaleCurtis
The CQ bit was unchecked by dalecurtis@chromium.org
6 years, 7 months ago (2014-04-28 17:25:32 UTC) #22
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 7 months ago (2014-04-28 17:25:38 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/222783007/60001
6 years, 7 months ago (2014-04-28 17:26:14 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 19:41:47 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 7 months ago (2014-04-28 19:41:48 UTC) #26
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 7 months ago (2014-04-28 19:42:49 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/222783007/60001
6 years, 7 months ago (2014-04-28 19:43:05 UTC) #28
commit-bot: I haz the power
6 years, 7 months ago (2014-04-28 19:50:41 UTC) #29
Message was sent while issue was closed.
Change committed as 266636

Powered by Google App Engine
This is Rietveld 408576698