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 07f59f5404
commit a6c1cbe69a

View file

@ -851,7 +851,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;