mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
utils: Remove deprecated gst_element_factory_can_{sink,src}_caps()
This commit is contained in:
parent
4e16347bfa
commit
e86973bc10
3 changed files with 0 additions and 56 deletions
|
@ -1321,56 +1321,6 @@ gst_element_factory_can_accept_any_caps_in_direction (GstElementFactory *
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_element_factory_can_src_caps:
|
||||
* @factory: factory to query
|
||||
* @caps: the caps to check
|
||||
*
|
||||
* Checks if the factory can source the given capability.
|
||||
*
|
||||
* Returns: %TRUE if it can src the capabilities
|
||||
*
|
||||
* 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
|
||||
gst_element_factory_can_src_caps (GstElementFactory * factory,
|
||||
const GstCaps * caps)
|
||||
{
|
||||
return gst_element_factory_can_accept_all_caps_in_direction (factory, caps,
|
||||
GST_PAD_SRC);
|
||||
}
|
||||
#endif /* GST_REMOVE_DEPRECATED */
|
||||
|
||||
/**
|
||||
* gst_element_factory_can_sink_caps:
|
||||
* @factory: factory to query
|
||||
* @caps: the caps to check
|
||||
*
|
||||
* Checks if the factory can sink the given capability.
|
||||
*
|
||||
* Returns: %TRUE if it can sink the capabilities
|
||||
*
|
||||
* 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
|
||||
gst_element_factory_can_sink_caps (GstElementFactory * factory,
|
||||
const GstCaps * caps)
|
||||
{
|
||||
return gst_element_factory_can_accept_all_caps_in_direction (factory, caps,
|
||||
GST_PAD_SINK);
|
||||
}
|
||||
#endif /* GST_REMOVE_DEPRECATED */
|
||||
|
||||
/**
|
||||
* gst_element_factory_can_sink_all_caps:
|
||||
* @factory: factory to query
|
||||
|
|
|
@ -1034,10 +1034,6 @@ gboolean gst_element_seek_simple (GstElement *element,
|
|||
gint64 seek_pos);
|
||||
|
||||
/* util elementfactory functions */
|
||||
#ifndef GST_DISABLE_DEPRECATED
|
||||
gboolean gst_element_factory_can_src_caps (GstElementFactory *factory, const GstCaps *caps);
|
||||
gboolean gst_element_factory_can_sink_caps (GstElementFactory *factory, const GstCaps *caps);
|
||||
#endif /* GST_DISABLE_DEPRECATED */
|
||||
gboolean gst_element_factory_can_sink_all_caps (GstElementFactory *factory, const GstCaps *caps);
|
||||
gboolean gst_element_factory_can_src_all_caps (GstElementFactory *factory, const GstCaps *caps);
|
||||
gboolean gst_element_factory_can_sink_any_caps (GstElementFactory *factory, const GstCaps *caps);
|
||||
|
|
|
@ -305,10 +305,8 @@ EXPORTS
|
|||
gst_element_create_all_pads
|
||||
gst_element_factory_can_sink_all_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_any_caps
|
||||
gst_element_factory_can_src_caps
|
||||
gst_element_factory_create
|
||||
gst_element_factory_find
|
||||
gst_element_factory_get_element_type
|
||||
|
|
Loading…
Reference in a new issue