зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1322587: [MSE] P2. Allow additional top-level boxes. r=gerald
MozReview-Commit-ID: AE6EaPnOiJu --HG-- extra : rebase_source : e713d4d4a755a1a6e835521d9774139d3a3e98d2
This commit is contained in:
Родитель
225e0aecd7
Коммит
0374bc4ac7
|
@ -352,7 +352,7 @@ public:
|
||||||
if (!parser.IsValid()) {
|
if (!parser.IsValid()) {
|
||||||
return MediaResult(
|
return MediaResult(
|
||||||
NS_ERROR_FAILURE,
|
NS_ERROR_FAILURE,
|
||||||
RESULT_DETAIL("Invalid Box:%s", parser.LastInvalidBox()));
|
RESULT_DETAIL("Invalid Top-Level Box:%s", parser.LastInvalidBox()));
|
||||||
}
|
}
|
||||||
return parser.StartWithInitSegment() ? NS_OK : NS_ERROR_NOT_AVAILABLE;
|
return parser.StartWithInitSegment() ? NS_OK : NS_ERROR_NOT_AVAILABLE;
|
||||||
}
|
}
|
||||||
|
@ -385,6 +385,8 @@ private:
|
||||||
"styp", "moof", "mdat", // media segment
|
"styp", "moof", "mdat", // media segment
|
||||||
"mfra", "skip", "meta", "meco", "ssix", "prft" // others.
|
"mfra", "skip", "meta", "meco", "ssix", "prft" // others.
|
||||||
"pssh", // optional with encrypted EME, though ignored.
|
"pssh", // optional with encrypted EME, though ignored.
|
||||||
|
"emsg", // ISO23009-1:2014 Section 5.10.3.3
|
||||||
|
"bloc", "uuid" // boxes accepted by chrome.
|
||||||
};
|
};
|
||||||
|
|
||||||
while (reader.Remaining() >= 8) {
|
while (reader.Remaining() >= 8) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче