[721/906] glfilter: Use uint64 for the OpenGL context property
authorSebastian Dröge <slomo@circular-chaos.org>
Fri, 28 Jun 2013 09:10:22 +0000 (11:10 +0200)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:57 +0000 (18:36 +0100)
ulong/long properties are deprecated and should not be used anymore
for portability reasons.

gst-libs/gst/gl/gstglfilter.c

index 0d2070c..38d144c 100644 (file)
@@ -113,10 +113,10 @@ gst_gl_filter_class_init (GstGLFilterClass * klass)
   GST_BASE_TRANSFORM_CLASS (klass)->get_unit_size = gst_gl_filter_get_unit_size;
 
   g_object_class_install_property (gobject_class, PROP_EXTERNAL_OPENGL_CONTEXT,
-      g_param_spec_ulong ("external-opengl-context",
+      g_param_spec_uint64 ("external-opengl-context",
           "External OpenGL context",
           "Give an external OpenGL context with which to share textures",
-          0, G_MAXULONG, 0, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
+          0, G_MAXUINT64, 0, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
 
   gst_element_class_add_pad_template (element_class,
       gst_static_pad_template_get (&gst_gl_filter_src_pad_template));