[gstreamermm] wrapped some plugins methods



commit e13be529b0e7c9d355e35614a72cd5d8e1d36f0b
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Wed Oct 30 18:16:29 2013 +0100

    wrapped some plugins methods

 gstreamer/src/plugin.hg        |    1 +
 gstreamer/src/pluginfeature.hg |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gstreamer/src/plugin.hg b/gstreamer/src/plugin.hg
index fd0a300..cfc4742 100644
--- a/gstreamer/src/plugin.hg
+++ b/gstreamer/src/plugin.hg
@@ -88,6 +88,7 @@ public:
   _WRAP_METHOD(Glib::ustring get_origin() const, gst_plugin_get_origin)
   _WRAP_METHOD(Glib::ustring get_source() const, gst_plugin_get_source)
   _WRAP_METHOD(Glib::ustring get_version() const, gst_plugin_get_version)
+  _WRAP_METHOD(Glib::ustring get_release_date_string() const, gst_plugin_get_release_date_string)
 
   //TODO: Use Glib::Module instead of GModule if possible:
   _WRAP_METHOD(GModule* get_module(), gst_plugin_get_module)
diff --git a/gstreamer/src/pluginfeature.hg b/gstreamer/src/pluginfeature.hg
index 5df105c..ce219cf 100644
--- a/gstreamer/src/pluginfeature.hg
+++ b/gstreamer/src/pluginfeature.hg
@@ -19,6 +19,7 @@
 
 #include <gst/gst.h>
 #include <gstreamermm/object.h>
+#include <gstreamermm/plugin.h>
 
 _DEFS(gstreamermm,gst)
 
@@ -47,6 +48,8 @@ public:
   _WRAP_METHOD(guint get_rank() const, gst_plugin_feature_get_rank)
   _WRAP_METHOD(Glib::ustring get_name() const, gst_plugin_feature_get_name)
   _WRAP_METHOD(Glib::RefPtr<Gst::PluginFeature> load(), gst_plugin_feature_load)
+  _WRAP_METHOD(Glib::RefPtr<Gst::Plugin> get_plugin() const, gst_plugin_feature_get_plugin)
+  _WRAP_METHOD(Glib::ustring get_plugin_name() const, gst_plugin_feature_get_plugin_name)
 
   // Don't wrap gst_plugin_feature_list_free because Glib::ListHandle<> handles
   // list freeing already.


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