[Bug 676137] New: Frei0r filter plugins have a default value, but minimum and maximum are set to -G_MAX_DOUBLE and G_MAX_DOUBLE respectively.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 15 17:59:00 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=676137
  GStreamer | gst-plugins-bad | 0.10.36

           Summary: Frei0r filter plugins have a default value, but
                    minimum and maximum are set to -G_MAX_DOUBLE and
                    G_MAX_DOUBLE respectively.
    Classification: Platform
           Product: GStreamer
           Version: 0.10.36
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: trivial
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: mathieu.duponchelle at epitech.eu
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I can see in gst/frei0r/gstfrei0r.c that :

g_object_class_install_property (gobject_class, count++,
g_param_spec_double (prop_name, param_info->name,
param_info->explanation, -G_MAXDOUBLE, G_MAXDOUBLE, def,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));

Would there be a way to get the "real" minimum and maximum, or would we need to
maintain an array and specify them manually ?

With a plugin like letterB0xed, for example, the accepted values range from 0.0
to 1.0, any other values causes segfaults in my application.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list