[gstreamermm] wrapped some methods
- From: Marcin Kolny <mkolny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] wrapped some methods
- Date: Mon, 7 Oct 2013 22:56:34 +0000 (UTC)
commit 920057cd156ebfdd7cd7c6c6f3cc957cfa0e5063
Author: Marcin Kolny <marcin kolny gmail com>
Date: Tue Oct 8 00:40:17 2013 +0200
wrapped some methods
gstreamer/src/elementfactory.hg | 3 ++-
gstreamer/src/registry.hg | 1 +
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gstreamer/src/elementfactory.hg b/gstreamer/src/elementfactory.hg
index fb57cb8..2bb5e77 100644
--- a/gstreamer/src/elementfactory.hg
+++ b/gstreamer/src/elementfactory.hg
@@ -136,7 +136,8 @@ public:
_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(URIType get_uri_type() const, gst_element_factory_get_uri_type)
-
+ _WRAP_METHOD(Glib::ustring get_metadata(const Glib::ustring& key) const, gst_element_factory_get_metadata)
+
#m4 _CONVERSION(`const gchar* const*',`std::vector<Glib::ustring>',`Glib::ArrayHandler<Glib::ustring>($3,
Glib::OWNERSHIP_NONE)')
_WRAP_METHOD(bool has_interface(const Glib::ustring& name) const, gst_element_factory_has_interface)
diff --git a/gstreamer/src/registry.hg b/gstreamer/src/registry.hg
index b9cf4e0..32b1de5 100644
--- a/gstreamer/src/registry.hg
+++ b/gstreamer/src/registry.hg
@@ -174,6 +174,7 @@ public:
_WRAP_METHOD(void remove_feature(const Glib::RefPtr<Gst::PluginFeature>& feature),
gst_registry_remove_feature)
_WRAP_METHOD(void add_feature(const Glib::RefPtr<Gst::PluginFeature>& feature), gst_registry_add_feature)
_WRAP_METHOD(static bool check_feature_version(const Glib::ustring& feature_name, guint min_major, guint
min_minor, guint min_micro), gst_default_registry_check_feature_version)
+ _WRAP_METHOD(static Glib::RefPtr<Gst::Registry> get(), gst_registry_get)
};
} // namespace Gst
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]