mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-08 04:41:31 +00:00
subtitleoverlay: Use subset check instead of non-empty-intersection check to check if pads are compatible
This commit is contained in:
parent
e3530f434b
commit
c5733632ee
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue