mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
basetransform: Only use the cached transform on strictly equal caps
https://bugzilla.gnome.org/show_bug.cgi?id=663333
This commit is contained in:
parent
57074fc025
commit
e97eeb5cd4
1 changed files with 1 additions and 1 deletions
|
@ -709,7 +709,7 @@ gst_base_transform_getcaps (GstPad * pad)
|
|||
peercaps = gst_pad_peer_get_caps_reffed (otherpad);
|
||||
GST_OBJECT_LOCK (trans);
|
||||
samecaps = (peercaps && trans->priv->cached_peer_caps[cache_index]
|
||||
&& gst_caps_is_equal (peercaps,
|
||||
&& gst_caps_is_strictly_equal (peercaps,
|
||||
trans->priv->cached_peer_caps[cache_index]));
|
||||
if (!samecaps) {
|
||||
if (trans->priv->cached_peer_caps[cache_index]) {
|
||||
|
|
Loading…
Reference in a new issue