mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
Add logging in failure case. Add more details to a todo comment.
This commit is contained in:
parent
dab725ee69
commit
45a17154b7
2 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue