summaryrefslogtreecommitdiff
path: root/gst/gstelementfactory.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstelementfactory.c')
-rw-r--r--gst/gstelementfactory.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/gstelementfactory.c b/gst/gstelementfactory.c
index 529100e0ca..71b0be5f51 100644
--- a/gst/gstelementfactory.c
+++ b/gst/gstelementfactory.c
@@ -502,7 +502,7 @@ gst_element_factory_get_uri_protocols (GstElementFactory *factory)
*/
gboolean
gst_element_factory_can_src_caps (GstElementFactory *factory,
- const GstCaps2 *caps)
+ const GstCaps *caps)
{
GList *templates;
@@ -515,7 +515,7 @@ gst_element_factory_can_src_caps (GstElementFactory *factory,
GstPadTemplate *template = (GstPadTemplate *)templates->data;
if (template->direction == GST_PAD_SRC) {
- if (gst_caps2_is_always_compatible (GST_PAD_TEMPLATE_CAPS (template), caps))
+ if (gst_caps_is_always_compatible (GST_PAD_TEMPLATE_CAPS (template), caps))
return TRUE;
}
templates = g_list_next (templates);
@@ -534,7 +534,7 @@ gst_element_factory_can_src_caps (GstElementFactory *factory,
*/
gboolean
gst_element_factory_can_sink_caps (GstElementFactory *factory,
- const GstCaps2 *caps)
+ const GstCaps *caps)
{
GList *templates;
@@ -547,7 +547,7 @@ gst_element_factory_can_sink_caps (GstElementFactory *factory,
GstPadTemplate *template = (GstPadTemplate *)templates->data;
if (template->direction == GST_PAD_SINK) {
- if (gst_caps2_is_always_compatible (caps, GST_PAD_TEMPLATE_CAPS (template)))
+ if (gst_caps_is_always_compatible (caps, GST_PAD_TEMPLATE_CAPS (template)))
return TRUE;
}
templates = g_list_next (templates);