summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-30 17:26:44 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-30 17:26:44 +0200
commit14831575e643341541b263015f73dd2afff0c3b5 (patch)
treefb0431c2fa246a4d6449fa8c3c10fed845617b75
parent51540e9f801e0154dd2b357710e4c6ec67c46860 (diff)
Don't use the ThresholdType but the real type
-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
@@ -205,3 +205,3 @@ static extern IntPtr gst_element_class_get_pad_template (IntPtr klass, IntPtr na
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 ());
@@ -219,3 +219,3 @@ public Gst.PadTemplate[] PadTemplates {
get {
- GLib.GType gtype = this.LookupGType ().ThresholdType;
+ GLib.GType gtype = this.LookupGType ();
IntPtr class_ptr = new IntPtr (gtype.ClassPtr.ToInt64 ());