riff: relax width and height constraints
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 13 May 2010 10:03:07 +0000 (12:03 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 13 May 2010 10:06:41 +0000 (12:06 +0200)
Increase the acceptable video sizes from [16,4096] to [1, MAX].

See #618392

gst-libs/gst/riff/riff-media.c

index 38f5017..784ee0c 100644 (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 */