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

Issue 10834101: Fix MP4StreamParser discard behavior when retaining 'moof'. (Closed)

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

Description

Fix MP4StreamParser discard behavior when retaining 'moof'. Adding support for retaining the 'moof' atom (revision 148982) broke an assumption in ReadMDATsUntil(). This removes the assumption, consolidates logic, and adds a comment and a test. BUG= TEST=MP4StreamParserTest, manual tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149499

Patch Set 1 #

Total comments: 6

Patch Set 2 : tgt_offset -> offset #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -14 lines) Patch
M media/mp4/mp4_stream_parser.h View 1 1 chunk +7 lines, -1 line 0 comments Download
M media/mp4/mp4_stream_parser.cc View 1 2 chunks +7 lines, -11 lines 0 comments Download
M media/mp4/mp4_stream_parser_unittest.cc View 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
strobe_
Fix for drm-segment-piece. Thanks!
8 years, 4 months ago (2012-08-01 06:22:52 UTC) #1
acolwell GONE FROM CHROMIUM
looks good. Just have a few nits and questions. http://chromiumcodereview.appspot.com/10834101/diff/1/media/mp4/mp4_stream_parser.cc File media/mp4/mp4_stream_parser.cc (left): http://chromiumcodereview.appspot.com/10834101/diff/1/media/mp4/mp4_stream_parser.cc#oldcode442 media/mp4/mp4_stream_parser.cc:442: ...
8 years, 4 months ago (2012-08-01 16:39:02 UTC) #2
strobe_
http://chromiumcodereview.appspot.com/10834101/diff/1/media/mp4/mp4_stream_parser.cc File media/mp4/mp4_stream_parser.cc (left): http://chromiumcodereview.appspot.com/10834101/diff/1/media/mp4/mp4_stream_parser.cc#oldcode442 media/mp4/mp4_stream_parser.cc:442: DCHECK(tgt_offset <= queue_.tail()); On 2012/08/01 16:39:02, acolwell wrote: > ...
8 years, 4 months ago (2012-08-01 19:01:33 UTC) #3
acolwell GONE FROM CHROMIUM
LGTM
8 years, 4 months ago (2012-08-01 20:08:07 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/strobe@google.com/10834101/7001
8 years, 4 months ago (2012-08-01 20:14:26 UTC) #5
commit-bot: I haz the power
8 years, 4 months ago (2012-08-01 21:45:04 UTC) #6
Change committed as 149499

Powered by Google App Engine
This is Rietveld 408576698