[gst-cvs] gstreamer-sharp: Add Gst.ElementFactory. Make overload with a single parameter for the factory
Sebastian Dröge
slomo at kemper.freedesktop.org
Thu May 28 01:37:56 PDT 2009
Module: gstreamer-sharp
Branch: master
Commit: eafb77d8bfa2981a7aa62cf29ba5e62a9c98002e
URL: http://cgit.freedesktop.org/gstreamer/gstreamer-sharp/commit/?id=eafb77d8bfa2981a7aa62cf29ba5e62a9c98002e
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date: Thu May 28 10:24:34 2009 +0200
Add Gst.ElementFactory.Make overload with a single parameter for the factory
---
gstreamer-sharp/ElementFactory.custom | 3 +++
gstreamer-sharp/Makefile.am | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/gstreamer-sharp/ElementFactory.custom b/gstreamer-sharp/ElementFactory.custom
new file mode 100644
index 0000000..5d38f8f
--- /dev/null
+++ b/gstreamer-sharp/ElementFactory.custom
@@ -0,0 +1,3 @@
+public static Gst.Element Make (string factoryname) {
+ return Make (factoryname, null);
+}
diff --git a/gstreamer-sharp/Makefile.am b/gstreamer-sharp/Makefile.am
index 1a11712..3d691d9 100644
--- a/gstreamer-sharp/Makefile.am
+++ b/gstreamer-sharp/Makefile.am
@@ -87,6 +87,7 @@ customs = \
ClockEntry.custom \
Debug.custom \
Element.custom \
+ ElementFactory.custom \
Message.custom \
Event.custom \
Pad.custom \
More information about the Gstreamer-commits
mailing list