From b2bb225289524c4511cd5e13a8486d62e99f84f2 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 1 Oct 2002 22:17:58 +0000 Subject: [PATCH] upcoming API change Original commit message from CVS: upcoming API change --- docs/gst/tmpl/gstcaps.sgml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/gst/tmpl/gstcaps.sgml b/docs/gst/tmpl/gstcaps.sgml index 78e2ca7..d068a80 100644 --- a/docs/gst/tmpl/gstcaps.sgml +++ b/docs/gst/tmpl/gstcaps.sgml @@ -97,6 +97,14 @@ GST_CAPS_FACTORY() macro as shown below. } + +If you want to check if a connection between source and destination caps +is always possible, use gst_caps_is_always_compatible(), which returns +a boolean. +If you want to check if a connection between source and destination caps +might be possible, use gst_caps_intersect(), which returns an intersection +of the capabilities. + @@ -344,7 +352,7 @@ Check if the GstCaps has fixed properties, ie. it has no ranges or lists. @Returns: - + -- 2.7.4