value: add explanation for shortcut
authorStefan Kost <ensonic@users.sf.net>
Tue, 14 Jul 2009 09:15:05 +0000 (12:15 +0300)
committerStefan Kost <ensonic@users.sf.net>
Tue, 14 Jul 2009 09:15:05 +0000 (12:15 +0300)
gst/gstvalue.c

index 72504ab..0bac203 100644 (file)
@@ -3080,6 +3080,8 @@ gst_value_can_intersect (const GValue * value1, const GValue * value2)
   type1 = G_VALUE_TYPE (value1);
   type2 = G_VALUE_TYPE (value2);
 
+  /* practically all GstValue types have a compare function (_can_compare=TRUE)
+   * GstStructure and GstCaps have npot, but are intersectable */
   if (type1 == type2)
     return TRUE;