mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 1102647 - Accept 4k video sizes in MPEG4Extractor. r=ajones
This commit is contained in:
parent
c08b56480c
commit
cb9f6864db
@ -2503,7 +2503,7 @@ static bool ValidInputSize(int32_t size) {
|
||||
// Reject compressed samples larger than an uncompressed UHD
|
||||
// frame. This is a reasonable cut-off for a lossy codec,
|
||||
// combined with the current Firefox limit to 5k video.
|
||||
return (size > 0 && size < 4 * (1920 * 1080) * 3 / 2);
|
||||
return (size > 0 && size <= 4 * (1920 * 1080) * 3 / 2);
|
||||
}
|
||||
|
||||
status_t MPEG4Source::start(MetaData *params) {
|
||||
|
Loading…
Reference in New Issue
Block a user