mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
capsnego fixes in adder, speed, and identity
Original commit message from CVS: capsnego fixes in adder, speed, and identity
This commit is contained in:
parent
33378146eb
commit
76ffe0769c
1 changed files with 7 additions and 4 deletions
|
@ -186,10 +186,13 @@ gst_adder_sinkpad_connect (GstPad *pad, GstCaps *caps)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GST_CAPS_IS_FIXED (caps) && ! gst_pad_try_set_caps (adder->srcpad, caps))
|
if (GST_CAPS_IS_FIXED (caps))
|
||||||
return GST_PAD_CONNECT_REFUSED;
|
if (gst_pad_try_set_caps (adder->srcpad, caps))
|
||||||
|
return GST_PAD_CONNECT_OK;
|
||||||
return GST_PAD_CONNECT_DELAYED;
|
else
|
||||||
|
return GST_PAD_CONNECT_REFUSED;
|
||||||
|
else
|
||||||
|
return GST_PAD_CONNECT_DELAYED;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue