[gstreamer-bugs] [Bug 630783] Crash in gst_frei0r_klass_install_properties at gstfrei0r.c line 78
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Sep 28 07:05:14 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=630783
GStreamer | gst-plugins-bad | 0.10.19
--- Comment #2 from mar77i <mysatyre at gmail.com> 2010-09-28 14:05:10 UTC ---
gstfrei0r.c 69-78:
----------------
for (i = 0; i < n_properties; i++) {
f0r_param_info_t *param_info = &properties[i].info;
gchar *prop_name;
ftable->get_param_info (param_info, i);
prop_name = g_ascii_strdown (param_info->name, -1);
g_strcanon (prop_name, G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "-+", '-');
/* satisfy glib2 (argname[0] must be [A-Za-z]) */
if (!((prop_name[0] >= 'a' && prop_name[0] <= 'z') ||
vertigo.c 61-89:
----------------
void f0r_get_plugin_info(f0r_plugin_info_t* vertigoInfo)
{
vertigoInfo->name = "Vertigo";
vertigoInfo->author = "Fukuchi Kentarou";
vertigoInfo->plugin_type = F0R_PLUGIN_TYPE_FILTER;
vertigoInfo->color_model = F0R_COLOR_MODEL_RGBA8888;
vertigoInfo->frei0r_version = FREI0R_MAJOR_VERSION;
vertigoInfo->major_version = 1;
vertigoInfo->minor_version = 0;
vertigoInfo->num_params = 3;
vertigoInfo->explanation = "alpha blending with zoomed and rotated images";
}
void f0r_get_param_info(f0r_param_info_t* info, int param_index)
{
switch(param_index)
{
case 0:
info->name = "PhaseIncrement";
info->type = F0R_PARAM_DOUBLE;
info->explanation = "Phase increment";
break;
case 1:
info->name = "Zoomrate";
info->type = F0R_PARAM_DOUBLE;
info->explanation = "Zoomrate";
break;
}
}
well, if you know c, you know it's going to break. A "continue" trap would be a
solution....
--
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