playsinkconvertbin: Use gst_caps_is_subset() for handling the ACCEPT_CAPS query
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 21 Mar 2013 10:42:43 +0000 (11:42 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 21 Mar 2013 10:42:43 +0000 (11:42 +0100)
gst/playback/gstplaysinkconvertbin.c

index 22e4171..a5e03f0 100644 (file)
@@ -427,8 +427,7 @@ gst_play_sink_convert_bin_acceptcaps (GstPad * pad, GstCaps * caps)
   gboolean ret;
 
   allowed_caps = gst_pad_query_caps (pad, NULL);
-  /* FIXME 0.11: Should be a subset check now */
-  ret = gst_caps_can_intersect (caps, allowed_caps);
+  ret = gst_caps_is_subset (caps, allowed_caps);
   gst_caps_unref (allowed_caps);
 
   return ret;