diff --git i/tests/check/gst/gstcaps.c w/tests/check/gst/gstcaps.c
index 7f60141..b2e043b 100644
--- i/tests/check/gst/gstcaps.c
+++ w/tests/check/gst/gstcaps.c
@@ -331,6 +331,13 @@ GST_START_TEST (test_subset)
   fail_if (gst_caps_is_equal (c1, c2));
   gst_caps_unref (c1);
   gst_caps_unref (c2);
+
+  c1 = gst_caps_from_string ("image/jpeg, width=(int)[ 1, 65535 ], height=(int)[ 1, 65535 ]");
+  c2 = gst_caps_from_string ("image/jpeg");
+  fail_unless (gst_caps_is_subset (c2, c1));
+  fail_if (gst_caps_is_subset (c1, c2));
+  gst_caps_unref (c1);
+  gst_caps_unref (c2);
 }
 
 GST_END_TEST;
