mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-07 12:21:17 +00:00
playsinkconvertbin: Use gst_caps_is_subset() for handling the ACCEPT_CAPS query
This commit is contained in:
parent
575f0640ed
commit
d06c332655
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue