joshdoe / gst-plugins-vision

GStreamer plugins related to the field of machine vision
Other
134 stars 50 forks source link

Typo in gstidsueyesrc.c? #59

Open huyaoyu opened 3 years ago

huyaoyu commented 3 years ago

Failed to compile the plugin for IDS uEye camera on Linux.

It seems the following code contains a typo: https://github.com/joshdoe/gst-plugins-vision/blob/5925f643b1577b07d54ed10e381aa2fc87294a46/sys/idsueye/gstidsueyesrc.c#L449

void *
char_to_ids_unicode (const char *str)
{
  return g_utf8_to_ucs4 (src->config_file, -1, NULL, NULL, NULL);
}

Should be

void *
char_to_ids_unicode (const char *str)
{
  return g_utf8_to_ucs4 (str, -1, NULL, NULL, NULL);
}