utils: Add more details about gst_element_get_compatible_pad

This commit is contained in:
Edward Hervey 2010-07-08 16:24:21 +02:00
parent 068e1a6384
commit 5b40ebbceb

View file

@ -1090,6 +1090,10 @@ gst_pad_check_link (GstPad * srcpad, GstPad * sinkpad)
* guaranteed that linking the pads will work, though it should work in most * guaranteed that linking the pads will work, though it should work in most
* cases. * cases.
* *
* This function will first attempt to find a compatible unlinked ALWAYS pad,
* and if none can be found, it will request a compatible REQUEST pad by looking
* at the templates of @element.
*
* Returns: the #GstPad to which a link can be made, or %NULL if one cannot be * Returns: the #GstPad to which a link can be made, or %NULL if one cannot be
* found. gst_object_unref() after usage. * found. gst_object_unref() after usage.
*/ */