MSE: Increase log visibility when unfragmented MP4 causes parse failure
commit4d8bd581421979e7698a419638bff2a354c7e416
authorwolenetz <wolenetz@chromium.org>
Fri, 15 May 2015 20:02:41 +0000 (15 13:02 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 15 May 2015 20:04:08 +0000 (15 20:04 +0000)
tree372c954c1408aac403337868b81e7502b3839eb0
parent2e03e11fed1b84b500a2784d33de56e69219b481
MSE: Increase log visibility when unfragmented MP4 causes parse failure

Adds an error log entry to chrome://media-internals when MSE's
MP4 stream parser detects an unfragmented MP4. This error log should
help make it more clear why the parse fails in this unfortunately common
case.

BUG=487410
R=dalecurtis,chcunningham
TEST=Manually verified the log entry occurs for the repro in bug 487410.

Review URL: https://codereview.chromium.org/1147453002

Cr-Commit-Position: refs/heads/master@{#330178}
media/formats/mp4/box_definitions.cc
media/formats/mp4/box_definitions.h
media/formats/mp4/box_reader.cc
media/formats/mp4/box_reader.h
media/formats/mp4/rcheck.h