diff --git a/libs/gst/base/gstbasesrc.c b/libs/gst/base/gstbasesrc.c index 4c3b4e7a27..850516dba3 100644 --- a/libs/gst/base/gstbasesrc.c +++ b/libs/gst/base/gstbasesrc.c @@ -265,6 +265,7 @@ gst_base_src_get_type (void) } return base_src_type; } + static GstCaps *gst_base_src_getcaps (GstPad * pad); static gboolean gst_base_src_setcaps (GstPad * pad, GstCaps * caps); static void gst_base_src_fixate (GstPad * pad, GstCaps * caps); @@ -2405,6 +2406,8 @@ gst_base_src_default_negotiate (GstBaseSrc * basesrc) } } gst_caps_unref (caps); + } else { + GST_DEBUG_OBJECT (basesrc, "no common caps"); } return result; diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c index 2b0c42a015..fbcc435e9d 100644 --- a/libs/gst/base/gstbasetransform.c +++ b/libs/gst/base/gstbasetransform.c @@ -491,7 +491,10 @@ gst_base_transform_transform_caps (GstBaseTransform * trans, } GST_LOG_OBJECT (trans, "merged: (%d)", gst_caps_get_size (ret)); /* we can't do much simplification here because we don't really want to - * change the caps order */ + * change the caps order + gst_caps_do_simplify (ret); + GST_DEBUG_OBJECT (trans, "simplified: (%d)", gst_caps_get_size (ret)); + */ } } else { GST_DEBUG_OBJECT (trans, "identity from: %" GST_PTR_FORMAT, caps);