From 9696af170f052e2714f556b9ce44cb4b6837ecca Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 13 May 2010 12:03:07 +0200 Subject: [PATCH] riff: relax width and height constraints Increase the acceptable video sizes from [16,4096] to [1, MAX]. See #618392 --- gst-libs/gst/riff/riff-media.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index 38f5017..784ee0c 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -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 */ -- 2.7.4