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:
René Stadler 2011-11-12 01:54:44 +01:00
parent 4d58535d7c
commit cb4ac0cf70

View file

@ -516,7 +516,7 @@ gst_base_transform_transform_caps (GstBaseTransform * trans,
intersection =
gst_caps_intersect_full (filter, ret, GST_CAPS_INTERSECT_FIRST);
gst_caps_unref (intersection);
gst_caps_unref (ret);
ret = intersection;
}
}