mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
Check suggested caps for proxy alloc
Because we are trying to resolve a suggestion here we don't need to check on caps for proxy_alloc but we need to check on the suggested caps instead.
This commit is contained in:
parent
eaf7582b8f
commit
0dd051eeb3
1 changed files with 1 additions and 1 deletions
|
@ -1595,7 +1595,7 @@ gst_base_transform_buffer_alloc (GstPad * pad, guint64 offset, guint size,
|
||||||
priv->proxy_alloc = FALSE;
|
priv->proxy_alloc = FALSE;
|
||||||
} else {
|
} else {
|
||||||
/* we transformed into something */
|
/* we transformed into something */
|
||||||
if (gst_caps_is_equal (caps, othercaps)) {
|
if (gst_caps_is_equal (sink_suggest, othercaps)) {
|
||||||
GST_DEBUG_OBJECT (trans,
|
GST_DEBUG_OBJECT (trans,
|
||||||
"best caps same as input, marking for proxy");
|
"best caps same as input, marking for proxy");
|
||||||
priv->proxy_alloc = TRUE;
|
priv->proxy_alloc = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue