From f18bee2d8af647e0b8a870839e2ecffd33cc977e Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 14 Jul 2009 12:15:05 +0300 Subject: [PATCH] value: add explanation for shortcut --- gst/gstvalue.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/gstvalue.c b/gst/gstvalue.c index 72504ab..0bac203 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -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; -- 2.7.4