]> Devoid-pointer.net GitWeb - KLGD_FF_plugin.git/commitdiff
Do not set "eff->state" where "eff->change" should be set
authorMichal Malý <madcatxster@devoid-pointer.net>
Wed, 1 Oct 2014 14:04:56 +0000 (16:04 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Wed, 1 Oct 2014 14:04:56 +0000 (16:04 +0200)
klgd_ff_plugin.c

index ec9cd2f1043b8ad1f6cda09e7186d701d72ebc8b..43c63bbfa81e3948d72e87862a37d435e21e7bd9 100644 (file)
@@ -342,7 +342,7 @@ static struct klgd_command_stream * ffpl_get_commands(struct klgd_plugin *self,
                                printk(KERN_WARNING "Error %d while replacing effect %lu\n", ret, idx);
                        else {
                                eff->replace = false;
-                               eff->state = FFPL_DONT_TOUCH;
+                               eff->change = FFPL_DONT_TOUCH;
                                continue;
                        }
                }