Commit 79b8da36 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

V4L2: also replace commas with underscores (fix #4273)

parent a0adc285
...@@ -337,7 +337,7 @@ static vlc_v4l2_ctrl_t *ControlCreate (int fd, ...@@ -337,7 +337,7 @@ static vlc_v4l2_ctrl_t *ControlCreate (int fd,
for (i = 0; query->name[i]; i++) for (i = 0; query->name[i]; i++)
{ {
unsigned char c = query->name[i]; unsigned char c = query->name[i];
if (c == ' ') if (c == ' ' || c == ',')
c = '_'; c = '_';
if (c < 128) if (c < 128)
c = tolower (c); c = tolower (c);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment