riff: relax width and height constraints

Increase the acceptable video sizes from [16,4096] to [1, MAX].

See #618392
This commit is contained in:
Wim Taymans 2010-05-13 12:03:07 +02:00
parent 30b67cda5d
commit 9696af170f

View file

@ -859,8 +859,8 @@ gst_riff_create_video_caps (guint32 codec_fcc,
"height", G_TYPE_INT, strf->height, NULL);
} else {
gst_caps_set_simple (caps,
"width", GST_TYPE_INT_RANGE, 16, 4096,
"height", GST_TYPE_INT_RANGE, 16, 4096, NULL);
"width", GST_TYPE_INT_RANGE, 1, G_MAXINT,
"height", GST_TYPE_INT_RANGE, 1, G_MAXINT, NULL);
}
/* extradata */