mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
basetransform: suggestion compatible with upstream is not much of a suggestion
... in that upstream is already complying with that suggestion. Fixes #666174.
This commit is contained in:
parent
eb79c0a835
commit
b3886b7935
1 changed files with 2 additions and 1 deletions
|
@ -1866,7 +1866,8 @@ gst_base_transform_buffer_alloc (GstPad * pad, guint64 offset, guint size,
|
|||
} else {
|
||||
/* if we have a suggestion, pretend we got these as input */
|
||||
GST_OBJECT_LOCK (pad);
|
||||
if (priv->sink_suggest && !gst_caps_is_equal (caps, priv->sink_suggest)) {
|
||||
if (priv->sink_suggest &&
|
||||
!gst_caps_can_intersect (caps, priv->sink_suggest)) {
|
||||
sink_suggest = gst_caps_ref (priv->sink_suggest);
|
||||
size_suggest = priv->size_suggest;
|
||||
GST_DEBUG_OBJECT (trans, "have suggestion %p %" GST_PTR_FORMAT " size %u",
|
||||
|
|
Loading…
Reference in a new issue