Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
luzpaz
gstreamer
Commits
e86973bc
Commit
e86973bc
authored
Mar 17, 2011
by
Sebastian Dröge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
utils: Remove deprecated gst_element_factory_can_{sink,src}_caps()
parent
4e16347b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
56 deletions
+0
-56
gst/gstutils.c
gst/gstutils.c
+0
-50
gst/gstutils.h
gst/gstutils.h
+0
-4
win32/common/libgstreamer.def
win32/common/libgstreamer.def
+0
-2
No files found.
gst/gstutils.c
View file @
e86973bc
...
...
@@ -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
...
...
gst/gstutils.h
View file @
e86973bc
...
...
@@ -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
);
...
...
win32/common/libgstreamer.def
View file @
e86973bc
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment