| Index: media/formats/mp4/box_definitions.cc
|
| diff --git a/media/formats/mp4/box_definitions.cc b/media/formats/mp4/box_definitions.cc
|
| index a95c78f9d163da7dbd052c74b3690b25cb46e7a3..ced31cc51dbc20dc3b552bc4bea80c259c74a1a6 100644
|
| --- a/media/formats/mp4/box_definitions.cc
|
| +++ b/media/formats/mp4/box_definitions.cc
|
| @@ -461,6 +461,13 @@ bool HandlerReference::Parse(BoxReader* reader) {
|
| type = kVideo;
|
| } else if (hdlr_type == FOURCC_SOUN) {
|
| type = kAudio;
|
| + } else if (hdlr_type == FOURCC_META || hdlr_type == FOURCC_SUBT ||
|
| + hdlr_type == FOURCC_TEXT || hdlr_type == FOURCC_SBTL) {
|
| + // For purposes of detection, we include 'sbtl' handler here. Note, though
|
| + // that ISO-14496-12 and its 2012 Amendment 2, and the spec for sourcing
|
| + // inband tracks all reference only 'text' or 'subt', and 14496-30
|
| + // references only 'subt'. Yet ffmpeg can encode subtitles as 'sbtl'.
|
| + type = kText;
|
| } else {
|
| type = kInvalid;
|
| }
|
|
|