mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
utils: fix ABI break when compiling gstreamer with -DGST_DISABLE_DEPRECATED
GST_DISABLE_DEPRECATED should only affect visibility of declarations in headers, not actually remove symbols. See GitDeveloperGuidelines and DeprecatingAPI pages in wiki. https://bugzilla.gnome.org/show_bug.cgi?id=402141
This commit is contained in:
parent
430e83ca2a
commit
90b4dc4869
2 changed files with 14 additions and 2 deletions
|
@ -1321,7 +1321,6 @@ gst_element_factory_can_accept_any_caps_in_direction (GstElementFactory *
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef GST_DISABLE_DEPRECATED
|
|
||||||
/**
|
/**
|
||||||
* gst_element_factory_can_src_caps:
|
* gst_element_factory_can_src_caps:
|
||||||
* @factory: factory to query
|
* @factory: factory to query
|
||||||
|
@ -1333,6 +1332,11 @@ gst_element_factory_can_accept_any_caps_in_direction (GstElementFactory *
|
||||||
*
|
*
|
||||||
* Deprecated: use gst_element_factory_can_src_all_caps() instead.
|
* Deprecated: use gst_element_factory_can_src_all_caps() instead.
|
||||||
*/
|
*/
|
||||||
|
#ifndef GST_REMOVE_DEPRECATED
|
||||||
|
#ifdef GST_DISABLE_DEPRECATED
|
||||||
|
gboolean gst_element_factory_can_src_caps (GstElementFactory * factory,
|
||||||
|
const GstCaps * caps);
|
||||||
|
#endif
|
||||||
gboolean
|
gboolean
|
||||||
gst_element_factory_can_src_caps (GstElementFactory * factory,
|
gst_element_factory_can_src_caps (GstElementFactory * factory,
|
||||||
const GstCaps * caps)
|
const GstCaps * caps)
|
||||||
|
@ -1340,6 +1344,7 @@ gst_element_factory_can_src_caps (GstElementFactory * factory,
|
||||||
return gst_element_factory_can_accept_all_caps_in_direction (factory, caps,
|
return gst_element_factory_can_accept_all_caps_in_direction (factory, caps,
|
||||||
GST_PAD_SRC);
|
GST_PAD_SRC);
|
||||||
}
|
}
|
||||||
|
#endif /* GST_REMOVE_DEPRECATED */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_element_factory_can_sink_caps:
|
* gst_element_factory_can_sink_caps:
|
||||||
|
@ -1352,6 +1357,11 @@ gst_element_factory_can_src_caps (GstElementFactory * factory,
|
||||||
*
|
*
|
||||||
* Deprecated: use gst_element_factory_can_sink_all_caps() instead.
|
* Deprecated: use gst_element_factory_can_sink_all_caps() instead.
|
||||||
*/
|
*/
|
||||||
|
#ifndef GST_REMOVE_DEPRECATED
|
||||||
|
#ifdef GST_DISABLE_DEPRECATED
|
||||||
|
gboolean gst_element_factory_can_sink_caps (GstElementFactory * factory,
|
||||||
|
const GstCaps * caps);
|
||||||
|
#endif
|
||||||
gboolean
|
gboolean
|
||||||
gst_element_factory_can_sink_caps (GstElementFactory * factory,
|
gst_element_factory_can_sink_caps (GstElementFactory * factory,
|
||||||
const GstCaps * caps)
|
const GstCaps * caps)
|
||||||
|
@ -1359,7 +1369,7 @@ gst_element_factory_can_sink_caps (GstElementFactory * factory,
|
||||||
return gst_element_factory_can_accept_all_caps_in_direction (factory, caps,
|
return gst_element_factory_can_accept_all_caps_in_direction (factory, caps,
|
||||||
GST_PAD_SINK);
|
GST_PAD_SINK);
|
||||||
}
|
}
|
||||||
#endif /* GST_DISABLE_DEPRECATED */
|
#endif /* GST_REMOVE_DEPRECATED */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_element_factory_can_sink_all_caps:
|
* gst_element_factory_can_sink_all_caps:
|
||||||
|
|
|
@ -303,8 +303,10 @@ EXPORTS
|
||||||
gst_element_create_all_pads
|
gst_element_create_all_pads
|
||||||
gst_element_factory_can_sink_all_caps
|
gst_element_factory_can_sink_all_caps
|
||||||
gst_element_factory_can_sink_any_caps
|
gst_element_factory_can_sink_any_caps
|
||||||
|
gst_element_factory_can_sink_caps
|
||||||
gst_element_factory_can_src_all_caps
|
gst_element_factory_can_src_all_caps
|
||||||
gst_element_factory_can_src_any_caps
|
gst_element_factory_can_src_any_caps
|
||||||
|
gst_element_factory_can_src_caps
|
||||||
gst_element_factory_create
|
gst_element_factory_create
|
||||||
gst_element_factory_find
|
gst_element_factory_find
|
||||||
gst_element_factory_get_author
|
gst_element_factory_get_author
|
||||||
|
|
Loading…
Reference in a new issue