mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
riff: relax width and height constraints
Increase the acceptable video sizes from [16,4096] to [1, MAX]. See #618392
This commit is contained in:
parent
30b67cda5d
commit
9696af170f
1 changed files with 2 additions and 2 deletions
|
@ -859,8 +859,8 @@ gst_riff_create_video_caps (guint32 codec_fcc,
|
||||||
"height", G_TYPE_INT, strf->height, NULL);
|
"height", G_TYPE_INT, strf->height, NULL);
|
||||||
} else {
|
} else {
|
||||||
gst_caps_set_simple (caps,
|
gst_caps_set_simple (caps,
|
||||||
"width", GST_TYPE_INT_RANGE, 16, 4096,
|
"width", GST_TYPE_INT_RANGE, 1, G_MAXINT,
|
||||||
"height", GST_TYPE_INT_RANGE, 16, 4096, NULL);
|
"height", GST_TYPE_INT_RANGE, 1, G_MAXINT, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* extradata */
|
/* extradata */
|
||||||
|
|
Loading…
Reference in a new issue