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

Issue 1966673002: media: Fix WebM keyframe detection in BlockGroup (Closed)

Created:
4 years, 7 months ago by vignesh
Modified:
4 years, 7 months ago
CC:
chromium-reviews, 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

media: Fix WebM keyframe detection in BlockGroup The right way to detect the presence of a keyframe in a BlockGroup is to look for the absence of the ReferenceBlock element [1]. TEST=new pipeline integration test BUG=397073 [1] https://matroska.org/technical/specs/index.html#ReferenceBlock Committed: https://crrev.com/f5f6998f2f5db240fac1c92c93a76bdae3cb611b Cr-Commit-Position: refs/heads/master@{#393078}

Patch Set 1 #

Patch Set 2 : add unit tests with keyframe verification #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -148 lines) Patch
M media/filters/chunk_demuxer_unittest.cc View 1 3 chunks +6 lines, -3 lines 0 comments Download
M media/formats/webm/cluster_builder.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M media/formats/webm/cluster_builder.cc View 1 5 chunks +20 lines, -2 lines 0 comments Download
M media/formats/webm/webm_cluster_parser.h View 3 chunks +6 lines, -9 lines 0 comments Download
M media/formats/webm/webm_cluster_parser.cc View 9 chunks +28 lines, -41 lines 0 comments Download
M media/formats/webm/webm_cluster_parser_unittest.cc View 1 16 chunks +115 lines, -93 lines 0 comments Download
A + media/test/data/bear-vp9-blockgroup.webm View Binary file 0 comments Download
M media/test/pipeline_integration_test.cc View 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
vignesh
I have also verified this manually by passing a BlockGroup wrapped VP9 file through MSE ...
4 years, 7 months ago (2016-05-10 16:29:45 UTC) #2
chcunningham
lgtm % test question. Vignesh/Matt, wdyt about unit vs integration test here (why not both?). ...
4 years, 7 months ago (2016-05-10 19:28:36 UTC) #3
vignesh
> > Vignesh/Matt, wdyt about unit vs integration test here (why not both?). I think ...
4 years, 7 months ago (2016-05-11 16:24:15 UTC) #4
vignesh
Have added the unit tests. PTAL.
4 years, 7 months ago (2016-05-11 18:14:14 UTC) #5
chcunningham
On 2016/05/11 18:14:14, vignesh wrote: > Have added the unit tests. PTAL. LGTM. Thanks Vignesh!
4 years, 7 months ago (2016-05-11 20:18:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1966673002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1966673002/20001
4 years, 7 months ago (2016-05-11 20:20:58 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-11 21:54:39 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/f5f6998f2f5db240fac1c92c93a76bdae3cb611b Cr-Commit-Position: refs/heads/master@{#393078}
4 years, 7 months ago (2016-05-11 21:56:56 UTC) #11
wolenetz
4 years, 7 months ago (2016-05-17 19:16:55 UTC) #12
Message was sent while issue was closed.
belated lgtm. Note that text track blocks should all be key frames, though that
is enforced later in our pipeline than the stream parser, so the unit tests
triggering parse of non-keyframe text blocks is ok. Thanks for fixing this!

Powered by Google App Engine
This is Rietveld 408576698