Original commit message from CVS:
2005-10-16 Julien MOUTTE <julien@moutte.net>
* gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a
simple
fix. Because of unsigned ints, caps intersection was going nuts
and
trying to access structures with G_MAXUINT index. That fixes
videotestsrc ! ffmpegcolorspace ! fakesink
* gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
consistency.
+2005-10-16 Julien MOUTTE <julien@moutte.net>
+
+ * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
+ fix. Because of unsigned ints, caps intersection was going nuts and
+ trying to access structures with G_MAXUINT index. That fixes
+ videotestsrc ! ffmpegcolorspace ! fakesink
+ * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
+ consistency.
+
2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
GstCaps *
gst_caps_intersect (const GstCaps * caps1, const GstCaps * caps2)
{
- guint i, j, k;
+ gint i, j, k;
GstStructure *struct1;
GstStructure *struct2;
GstCaps *dest;
srccaps = gst_pad_get_caps_unlocked (src);
sinkcaps = gst_pad_get_caps_unlocked (sink);
- GST_CAT_DEBUG (GST_CAT_CAPS, " src caps %" GST_PTR_FORMAT, srccaps);
+ GST_CAT_DEBUG (GST_CAT_CAPS, "src caps %" GST_PTR_FORMAT, srccaps);
GST_CAT_DEBUG (GST_CAT_CAPS, "sink caps %" GST_PTR_FORMAT, sinkcaps);
/* if we have caps on both pads we can check the intersection */