mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
basetransform: Prefer caps order given by the subclass of the template caps order
This commit is contained in:
parent
f450817d7f
commit
b4bed6e09e
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue