mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 19:31:12 +00:00
aom: av1enc: restrict allowed input width and height
Restrict allowed input resolution to something sensible in light of libaom CVE-2024-5171. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7320>
This commit is contained in:
parent
4b775228bf
commit
24d21cdce4
2 changed files with 3 additions and 3 deletions
|
@ -3613,7 +3613,7 @@
|
|||
"long-name": "AV1 Encoder",
|
||||
"pad-templates": {
|
||||
"sink": {
|
||||
"caps": "video/x-raw:\n format: { I420, Y42B, Y444, YV12 }\n framerate: [ 0/1, 2147483647/1 ]\n width: [ 4, 2147483647 ]\n height: [ 4, 2147483647 ]\n",
|
||||
"caps": "video/x-raw:\n format: { I420, Y42B, Y444, YV12 }\n framerate: [ 0/1, 2147483647/1 ]\n width: [ 4, 65536 ]\n height: [ 4, 65536 ]\n",
|
||||
"direction": "sink",
|
||||
"presence": "always"
|
||||
},
|
||||
|
|
|
@ -277,8 +277,8 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
GST_STATIC_CAPS ("video/x-raw, "
|
||||
"format = (string) { I420, Y42B, Y444, YV12 }, "
|
||||
"framerate = (fraction) [0, MAX], "
|
||||
"width = (int) [ 4, MAX ], "
|
||||
"height = (int) [ 4, MAX ]")
|
||||
"width = (int) [ 4, 65536 ], "
|
||||
"height = (int) [ 4, 65536 ]")
|
||||
);
|
||||
/* *INDENT-ON* */
|
||||
|
||||
|
|
Loading…
Reference in a new issue