gst/gstcaps.c: Simple caps go first. This has the nice side-effect of fixing an obscure warning.

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_compare_structures):
Simple caps go first. This has the nice side-effect of fixing an
obscure warning.
This commit is contained in:
Ronald S. Bultje 2004-12-09 15:32:17 +00:00
parent de305e8e62
commit 563aa73f77
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2004-12-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/gstcaps.c: (gst_caps_compare_structures):
Simple caps go first. This has the nice side-effect of fixing an
obscure warning.
2004-12-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/gstversion.h.in:

View file

@ -1090,7 +1090,7 @@ gst_caps_compare_structures (gconstpointer one, gconstpointer two)
if (ret)
return ret;
return gst_structure_n_fields (struct2) - gst_structure_n_fields (struct1);
return gst_structure_n_fields (struct1) - gst_structure_n_fields (struct2);
}
/**