Commit 7ca4a735 authored by Lars-Dominik Braun's avatar Lars-Dominik Braun

pulse: Ignore unknown options

For consistency with plugin API docs and other plugins. Fixes trac #1971.
parent a2d29ea8
......@@ -175,8 +175,7 @@ int ao_plugin_set_option(ao_device *device, const char *key, const char *value)
internal->client_name = strdup(value);
}else if (!strcmp(key, "buffer_time")){
internal->buffer_time = atoi(value) * 1000;
} else
return 0;
return 1;
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