basetransform: Prefer caps order given by the subclass of the template caps order

This commit is contained in:
Sebastian Dröge 2011-05-03 17:26:53 +02:00
parent f450817d7f
commit b4bed6e09e

View file

@ -853,7 +853,9 @@ gst_base_transform_find_transform (GstBaseTransform * trans, GstPad * pad,
GST_DEBUG_OBJECT (trans,
"intersecting against padtemplate %" GST_PTR_FORMAT, templ_caps);
intersect = gst_caps_intersect (othercaps, templ_caps);
intersect =
gst_caps_intersect_full (othercaps, templ_caps,
GST_CAPS_INTERSECT_FIRST);
gst_caps_unref (othercaps);
othercaps = intersect;