mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-25 13:30:31 +00:00
use the filter on the connection even if the pads don't have caps
Original commit message from CVS: use the filter on the connection even if the pads don't have caps
This commit is contained in:
parent
89bf2733e9
commit
6dc3e08f51
1 changed files with 5 additions and 3 deletions
|
@ -1513,10 +1513,12 @@ gst_pad_try_relink_filtered_func (GstRealPad *srcpad, GstRealPad *sinkpad,
|
||||||
GST_INFO (GST_CAT_PADS, "pads %s:%s and %s:%s have no common type",
|
GST_INFO (GST_CAT_PADS, "pads %s:%s and %s:%s have no common type",
|
||||||
GST_DEBUG_PAD_NAME (realsrc), GST_DEBUG_PAD_NAME (realsink));
|
GST_DEBUG_PAD_NAME (realsrc), GST_DEBUG_PAD_NAME (realsink));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
} else if (intersection) {
|
} else {
|
||||||
GST_INFO (GST_CAT_PADS, "pads %s:%s and %s:%s intersected to %s caps",
|
GST_INFO (GST_CAT_PADS, "pads %s:%s and %s:%s intersected to %s caps",
|
||||||
GST_DEBUG_PAD_NAME (realsrc), GST_DEBUG_PAD_NAME (realsink),
|
GST_DEBUG_PAD_NAME (realsrc), GST_DEBUG_PAD_NAME (realsink),
|
||||||
((intersection && GST_CAPS_IS_FIXED (intersection)) ? "fixed" : "variable"));
|
(intersection ?
|
||||||
|
(GST_CAPS_IS_FIXED (intersection) ? "fixed" : "variable") :
|
||||||
|
"NULL"));
|
||||||
|
|
||||||
/* then filter this against the app filter */
|
/* then filter this against the app filter */
|
||||||
if (filtercaps) {
|
if (filtercaps) {
|
||||||
|
|
Loading…
Reference in a new issue