[gstreamermm] Gst::ElementFactory: wrap missing functions



commit 98426f2651cc7b4b48fab7e000da9a9dbfd684b3
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Sat May 21 16:38:29 2016 +0200

    Gst::ElementFactory: wrap missing functions
    
        * gstreamer/src/elementfactory.{ccg|hg}: wrap get_uri_protocols ().

 gstreamer/src/elementfactory.ccg |    2 +-
 gstreamer/src/elementfactory.hg  |    7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/gstreamer/src/elementfactory.ccg b/gstreamer/src/elementfactory.ccg
index 3240244..7875dd4 100644
--- a/gstreamer/src/elementfactory.ccg
+++ b/gstreamer/src/elementfactory.ccg
@@ -1,6 +1,6 @@
 /* gstreamermm - a C++ wrapper for gstreamer
  *
- * Copyright 2008-2015 The gstreamermm Development Team
+ * Copyright 2008-2016 The gstreamermm Development Team
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/gstreamer/src/elementfactory.hg b/gstreamer/src/elementfactory.hg
index 878500d..d3cefb2 100644
--- a/gstreamer/src/elementfactory.hg
+++ b/gstreamer/src/elementfactory.hg
@@ -1,6 +1,6 @@
 /* gstreamermm - a C++ wrapper for gstreamer
  *
- * Copyright 2008-2015 The gstreamermm Development Team
+ * Copyright 2008-2016 The gstreamermm Development Team
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -102,6 +102,8 @@ class Plugin;
  *  }
  * @endcode
  *
+ * Last reviewed on 2016-05-21 (1.8.0).
+ *
  */
 class ElementFactory : public PluginFeature
 {
@@ -130,6 +132,9 @@ public:
   _WRAP_METHOD(guint get_num_pad_templates() const, gst_element_factory_get_num_pad_templates)
   _WRAP_METHOD(URIType get_uri_type() const, gst_element_factory_get_uri_type)
 
+#m4 _CONVERSION(`const gchar* 
const*',`std::vector<Glib::ustring>',`Glib::ArrayHandler<Glib::ustring>::array_to_vector($3, 
Glib::OWNERSHIP_DEEP)')
+  _WRAP_METHOD(std::vector<Glib::ustring> get_uri_protocols() const, gst_element_factory_get_uri_protocols)
+
   _WRAP_METHOD(bool has_interface(const Glib::ustring& name) const, gst_element_factory_has_interface)
 
 #m4 _CONVERSION(`const GList*', `std::vector< Gst::StaticPadTemplate >', `Glib::ListHandler< 
Gst::StaticPadTemplate, StaticPadTemplateTraits >::list_to_vector(const_cast<GList*>($3), 
Glib::OWNERSHIP_NONE)')


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