mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1102647 - Accept 4k video sizes in MPEG4Extractor. r=ajones
This commit is contained in:
parent
6f8543ba2b
commit
0bde89c1fe
@ -2503,7 +2503,7 @@ static bool ValidInputSize(int32_t size) {
|
|||||||
// Reject compressed samples larger than an uncompressed UHD
|
// Reject compressed samples larger than an uncompressed UHD
|
||||||
// frame. This is a reasonable cut-off for a lossy codec,
|
// frame. This is a reasonable cut-off for a lossy codec,
|
||||||
// combined with the current Firefox limit to 5k video.
|
// 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) {
|
status_t MPEG4Source::start(MetaData *params) {
|
||||||
|
Loading…
Reference in New Issue
Block a user