mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-05-13 19:58:57 +00:00
playbin2: Use subset check instead of non-empty-intersection check to check if pads are compatible
This commit is contained in:
parent
4be8c44b08
commit
e3530f434b
1 changed files with 1 additions and 1 deletions
|
@ -3068,7 +3068,7 @@ autoplug_continue_cb (GstElement * element, GstPad * pad, GstCaps * caps,
|
|||
gst_object_unref (sinkpad);
|
||||
} else {
|
||||
GstCaps *subcaps = gst_subtitle_overlay_create_factory_caps ();
|
||||
ret = !gst_caps_can_intersect (caps, subcaps);
|
||||
ret = !gst_caps_is_subset (caps, subcaps);
|
||||
gst_caps_unref (subcaps);
|
||||
}
|
||||
/* If autoplugging can stop don't do additional checks */
|
||||
|
|
Loading…
Reference in a new issue