summaryrefslogtreecommitdiff
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-30 15:26:44 (GMT)
committer Sebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-30 15:26:44 (GMT)
commit14831575e643341541b263015f73dd2afff0c3b5 (patch) (side-by-side diff)
treefb0431c2fa246a4d6449fa8c3c10fed845617b75
parent51540e9f801e0154dd2b357710e4c6ec67c46860 (diff)
downloadgstreamer-sharp-14831575e643341541b263015f73dd2afff0c3b5.zip
gstreamer-sharp-14831575e643341541b263015f73dd2afff0c3b5.tar.gz
Don't use the ThresholdType but the real type
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gstreamer-sharp/Element.custom4
1 files changed, 2 insertions, 2 deletions
diff --git a/gstreamer-sharp/Element.custom b/gstreamer-sharp/Element.custom
index 5c65a05..784f410 100644
--- a/gstreamer-sharp/Element.custom
+++ b/gstreamer-sharp/Element.custom
@@ -203,7 +203,7 @@ protected static void AddPadTemplate (GLib.GType gtype, Gst.PadTemplate templ) {
static extern IntPtr gst_element_class_get_pad_template (IntPtr klass, IntPtr name);
public Gst.PadTemplate GetPadTemplate (string name) {
- GLib.GType gtype = this.LookupGType ().ThresholdType;
+ GLib.GType gtype = this.LookupGType ();
IntPtr class_ptr = new IntPtr (gtype.ClassPtr.ToInt64 ());
IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
IntPtr raw_ret = gst_element_class_get_pad_template (class_ptr, native_name);
@@ -217,7 +217,7 @@ static extern IntPtr gst_element_class_get_pad_template_list (IntPtr klass);
public Gst.PadTemplate[] PadTemplates {
get {
- GLib.GType gtype = this.LookupGType ().ThresholdType;
+ GLib.GType gtype = this.LookupGType ();
IntPtr class_ptr = new IntPtr (gtype.ClassPtr.ToInt64 ());
IntPtr raw_ret = gst_element_class_get_pad_template_list (class_ptr);