From 529c727a5c72c286f6356cbd8a3ff6152c7cc342 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 10 Nov 2005 17:37:39 +0000 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ gst/base/gstbasetransform.c | 1 - gst/gstcaps.c | 1 - libs/gst/base/gstbasetransform.c | 1 - 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index fe268c3..631192f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-11-10 Thomas Vander Stichele + + * 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 * docs/design/part-TODO.txt: diff --git a/gst/base/gstbasetransform.c b/gst/base/gstbasetransform.c index 0bc1a08..d097c97 100644 --- a/gst/base/gstbasetransform.c +++ b/gst/base/gstbasetransform.c @@ -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); diff --git a/gst/gstcaps.c b/gst/gstcaps.c index 45dc2f2..e5229cb 100644 --- a/gst/gstcaps.c +++ b/gst/gstcaps.c @@ -1054,7 +1054,6 @@ gst_caps_intersect (const GstCaps * caps1, const GstCaps * caps2) j--; } } - gst_caps_do_simplify (dest); return dest; } diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c index 0bc1a08..d097c97 100644 --- a/libs/gst/base/gstbasetransform.c +++ b/libs/gst/base/gstbasetransform.c @@ -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); -- 2.7.4