subtitleoverlay: Use subset check instead of non-empty-intersection check to check if pads are compatible

This commit is contained in:
Sebastian Dröge 2011-09-06 14:04:34 +02:00
parent e3530f434b
commit c5733632ee

View file

@ -1802,7 +1802,7 @@ static gboolean
gst_subtitle_overlay_subtitle_sink_acceptcaps (GstPad * pad, GstCaps * caps)
{
GstCaps *othercaps = gst_subtitle_overlay_subtitle_sink_getcaps (pad);
gboolean ret = gst_caps_can_intersect (caps, othercaps);
gboolean ret = gst_caps_is_subset (caps, othercaps);
gst_caps_unref (othercaps);