gst/: Don't call gst_caps_do_simplify - it doesn't respect order of caps and it's not needed.

Original commit message from CVS:

* gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
* gst/gstcaps.c: (gst_caps_intersect):
Don't call gst_caps_do_simplify - it doesn't respect order of caps
and it's not needed.
This commit is contained in:
Thomas Vander Stichele 2005-11-10 17:37:39 +00:00
parent f5fe75472b
commit 529c727a5c
4 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
* gst/gstcaps.c: (gst_caps_intersect):
Don't call gst_caps_do_simplify - it doesn't respect order of caps
and it's not needed.
2005-11-10 Wim Taymans <wim@fluendo.com>
* docs/design/part-TODO.txt:

View file

@ -406,7 +406,6 @@ gst_base_transform_transform_caps (GstBaseTransform * trans,
gst_caps_append (ret, temp);
}
}
gst_caps_do_simplify (ret);
} else {
/* else use the identity transform */
ret = gst_caps_ref (caps);

View file

@ -1054,7 +1054,6 @@ gst_caps_intersect (const GstCaps * caps1, const GstCaps * caps2)
j--;
}
}
gst_caps_do_simplify (dest);
return dest;
}

View file

@ -406,7 +406,6 @@ gst_base_transform_transform_caps (GstBaseTransform * trans,
gst_caps_append (ret, temp);
}
}
gst_caps_do_simplify (ret);
} else {
/* else use the identity transform */
ret = gst_caps_ref (caps);