Commit 23189c60 authored by Jan Alexander Steffens's avatar Jan Alexander Steffens

videoaggregator: Limit accepted caps by template caps

This seems like an obvious mistake, since `modified_caps` was created
but not used.

Part-of: <gstreamer/gst-plugins-base!868>
parent 77c327f3
......@@ -2519,7 +2519,7 @@ gst_video_aggregator_pad_sink_acceptcaps (GstPad * pad,
modified_caps = gst_caps_intersect (accepted_caps, template_caps);
ret = gst_caps_can_intersect (caps, accepted_caps);
ret = gst_caps_can_intersect (caps, modified_caps);
GST_DEBUG_OBJECT (pad, "%saccepted caps %" GST_PTR_FORMAT,
(ret ? "" : "not "), caps);
gst_caps_unref (accepted_caps);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment