[gstreamermm] ElementFactory: Add some new methods.



commit fe10ccabd83dfd4095139fd26a5df3de27075446
Author: José Alburquerque <jaalburqu svn gnome org>
Date:   Sun May 22 23:28:51 2011 -0400

    ElementFactory: Add some new methods.
    
    	* gstreamer/src/elementfactory.hg: Add can_[sink|src]_[all|any]_caps()
    	get_documentation_uri(), and get_icon_name() methods.

 ChangeLog                       |    7 +++++++
 gstreamer/src/elementfactory.hg |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9a25054..962c999 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  José Alburquerque  <jaalburqu svn gnome org>
+
+	ElementFactory: Add some new methods.
+
+	* gstreamer/src/elementfactory.hg: Add can_[sink|src]_[all|any]_caps()
+	get_documentation_uri(), and get_icon_name() methods.
+
 2011-05-17  José Alburquerque  <jaalburqu svn gnome org>
 
 	Caps: Add new methods.
diff --git a/gstreamer/src/elementfactory.hg b/gstreamer/src/elementfactory.hg
index 34df234..e6d715f 100644
--- a/gstreamer/src/elementfactory.hg
+++ b/gstreamer/src/elementfactory.hg
@@ -91,11 +91,18 @@ public:
    */
   static Glib::RefPtr<Gst::Element> create_element(const Glib::ustring& factory_name);
 
+  _WRAP_METHOD(bool can_sink_all_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, gst_element_factory_can_sink_all_caps)
+  _WRAP_METHOD(bool can_src_all_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, gst_element_factory_can_src_all_caps)
+  _WRAP_METHOD(bool can_sink_any_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, gst_element_factory_can_sink_any_caps)
+  _WRAP_METHOD(bool can_src_any_caps(const Glib::RefPtr<const Gst::Caps>& caps) const, gst_element_factory_can_src_any_caps)
+
   _WRAP_METHOD(GType get_element_type() const, gst_element_factory_get_element_type)
   _WRAP_METHOD(Glib::ustring get_long_name() const, gst_element_factory_get_longname)
   _WRAP_METHOD(Glib::ustring get_kclass() const, gst_element_factory_get_klass)
   _WRAP_METHOD(Glib::ustring get_description() const, gst_element_factory_get_description)
   _WRAP_METHOD(Glib::ustring get_author() const, gst_element_factory_get_author)
+  _WRAP_METHOD(Glib::ustring get_documentation_uri() const, gst_element_factory_get_documentation_uri)
+  _WRAP_METHOD(Glib::ustring get_icon_name() const, gst_element_factory_get_icon_name)
   _WRAP_METHOD(guint get_num_pad_templates() const, gst_element_factory_get_num_pad_templates)
   _WRAP_METHOD(int get_uri_type() const, gst_element_factory_get_uri_type)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]