mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-23 17:14:23 +00:00
basetransform: fix caps unref in transform_caps filter subset check
I did not test this, but the code looked very wrong.
This commit is contained in:
parent
4d58535d7c
commit
cb4ac0cf70
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ gst_base_transform_transform_caps (GstBaseTransform * trans,
|
||||||
|
|
||||||
intersection =
|
intersection =
|
||||||
gst_caps_intersect_full (filter, ret, GST_CAPS_INTERSECT_FIRST);
|
gst_caps_intersect_full (filter, ret, GST_CAPS_INTERSECT_FIRST);
|
||||||
gst_caps_unref (intersection);
|
gst_caps_unref (ret);
|
||||||
ret = intersection;
|
ret = intersection;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue