From eafb77d8bfa2981a7aa62cf29ba5e62a9c98002e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 28 May 2009 10:24:34 +0200 Subject: [PATCH] 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(+) create mode 100644 gstreamer-sharp/ElementFactory.custom diff --git a/gstreamer-sharp/ElementFactory.custom b/gstreamer-sharp/ElementFactory.custom new file mode 100644 index 0000000000..5d38f8f007 --- /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 1a11712eb8..3d691d9de2 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 \